aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2001-01-04 01:33:11 +0800
committerChris Lahey <clahey@src.gnome.org>2001-01-04 01:33:11 +0800
commitb497fd53eb59a71a829af22f267a8e5e001def17 (patch)
tree19592208325ae5407180ff531301527ddb8da650
parente41312f0b71cbd0affe760597130410c8b996e58 (diff)
downloadgsoc2013-evolution-b497fd53eb59a71a829af22f267a8e5e001def17.tar
gsoc2013-evolution-b497fd53eb59a71a829af22f267a8e5e001def17.tar.gz
gsoc2013-evolution-b497fd53eb59a71a829af22f267a8e5e001def17.tar.bz2
gsoc2013-evolution-b497fd53eb59a71a829af22f267a8e5e001def17.tar.lz
gsoc2013-evolution-b497fd53eb59a71a829af22f267a8e5e001def17.tar.xz
gsoc2013-evolution-b497fd53eb59a71a829af22f267a8e5e001def17.tar.zst
gsoc2013-evolution-b497fd53eb59a71a829af22f267a8e5e001def17.zip
Initialize the exists variable so that we don't do random things if the
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. svn path=/trunk/; revision=7235
-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);