aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/imap/camel-imap-folder.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index d6faf67fbb..ee91389bd5 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2001-01-03 Christopher James Lahey <clahey@helixcode.com>
+
+ * providers/imap/camel-imap-folder.c (camel_imap_folder_new):
+ Initialize the exists variable so that we don't do random things
+ if the imap server misbehaves.
+
2000-12-29 Not Zed <NotZed@HelixCode.com>
* camel-folder.c (camel_folder_move_message_to): REmove warning,
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index 3fa5ce8cde..9e9d2a8cd5 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -157,7 +157,7 @@ camel_imap_folder_new (CamelStore *parent, const char *folder_name,
CamelImapResponse *response;
char *resp;
guint32 validity = 0;
- int i, exists;
+ int i, exists = 0;
camel_folder_construct (folder, parent, folder_name, short_name);