From b497fd53eb59a71a829af22f267a8e5e001def17 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 3 Jan 2001 17:33:11 +0000 Subject: Initialize the exists variable so that we don't do random things if the 2001-01-03 Christopher James Lahey * 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. svn path=/trunk/; revision=7235 --- camel/ChangeLog | 6 ++++++ camel/providers/imap/camel-imap-folder.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * 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 * 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); -- cgit v1.2.3