From 4ee4cf5693acf3ec206b9dda7ddaf772aa441489 Mon Sep 17 00:00:00 2001 From: 8 Date: Sun, 28 Oct 2001 10:51:19 +0000 Subject: Use the right variable, not info. 2001-10-28 * camel-store.c (camel_store_rename_folder): Use the right variable, not info. svn path=/trunk/; revision=14290 --- camel/ChangeLog | 4 ++++ camel/camel-store.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index e1482db86d..9b7415e91c 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,7 @@ +2001-10-28 + + * camel-store.c (camel_store_rename_folder): Use the right variable, not info. + 2001-10-28 Jeffrey Stedfast * camel-stream-buffer.c (camel_stream_buffer_read_line): Make sure diff --git a/camel/camel-store.c b/camel/camel-store.c index c993c74fee..a8c6b79bf0 100644 --- a/camel/camel-store.c +++ b/camel/camel-store.c @@ -462,7 +462,7 @@ camel_store_rename_folder (CamelStore *store, const char *old_name, const char * reninfo.old_base = (char *)old_name; reninfo.new = ((CamelStoreClass *)((CamelObject *)store)->classfuncs)->get_folder_info(store, new_name, flags, ex); - if (info.new != NULL) { + if (reninfo.new != NULL) { camel_object_trigger_event(CAMEL_OBJECT(store), "folder_renamed", &reninfo); ((CamelStoreClass *)((CamelObject *)store)->classfuncs)->free_folder_info(store, reninfo.new); } -- cgit