aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-01-06 07:48:10 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-01-06 07:48:10 +0800
commit18f922ae4bc302e14f248c12a347a24882160906 (patch)
tree57548834718c2a12ab52cc3969343082a3e411bf
parent1c9b48a33c1bf565eb9481bad4b31309ad4d2753 (diff)
downloadgsoc2013-evolution-18f922ae4bc302e14f248c12a347a24882160906.tar
gsoc2013-evolution-18f922ae4bc302e14f248c12a347a24882160906.tar.gz
gsoc2013-evolution-18f922ae4bc302e14f248c12a347a24882160906.tar.bz2
gsoc2013-evolution-18f922ae4bc302e14f248c12a347a24882160906.tar.lz
gsoc2013-evolution-18f922ae4bc302e14f248c12a347a24882160906.tar.xz
gsoc2013-evolution-18f922ae4bc302e14f248c12a347a24882160906.tar.zst
gsoc2013-evolution-18f922ae4bc302e14f248c12a347a24882160906.zip
init local exception before doing anything. fixes a crash.
2003-01-06 Not Zed <NotZed@Ximian.com> * camel-store.c (store_sync): init local exception before doing anything. fixes a crash. svn path=/trunk/; revision=19238
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-store.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 25b93b452d..f1ff4814a8 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-06 Not Zed <NotZed@Ximian.com>
+
+ * camel-store.c (store_sync): init local exception before doing
+ anything. fixes a crash.
+
2003-01-04 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_send_to): Instead of
diff --git a/camel/camel-store.c b/camel/camel-store.c
index c6454fc8f5..e023460bf6 100644
--- a/camel/camel-store.c
+++ b/camel/camel-store.c
@@ -563,6 +563,7 @@ store_sync (CamelStore *store, CamelException *ex)
CamelException x;
int i;
+ camel_exception_init(&x);
folders = camel_object_bag_list(store->folders);
for (i=0;i<folders->len;i++) {
folder = folders->pdata[i];