aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-07-17 03:23:33 +0800
committerDan Winship <danw@src.gnome.org>2001-07-17 03:23:33 +0800
commit749286686bb9ac20e0466ec89154b86779f58fa7 (patch)
treecb60d26d0f82ebab203cfc3d3266160e5b631806 /camel/providers
parent79d07ca8cad15d7ec6e3d37e261ddc6d401374a8 (diff)
downloadgsoc2013-evolution-749286686bb9ac20e0466ec89154b86779f58fa7.tar
gsoc2013-evolution-749286686bb9ac20e0466ec89154b86779f58fa7.tar.gz
gsoc2013-evolution-749286686bb9ac20e0466ec89154b86779f58fa7.tar.bz2
gsoc2013-evolution-749286686bb9ac20e0466ec89154b86779f58fa7.tar.lz
gsoc2013-evolution-749286686bb9ac20e0466ec89154b86779f58fa7.tar.xz
gsoc2013-evolution-749286686bb9ac20e0466ec89154b86779f58fa7.tar.zst
gsoc2013-evolution-749286686bb9ac20e0466ec89154b86779f58fa7.zip
Given: 4 EXISTS 1 EXPUNGE We have to pass 3, not 4 to
* providers/imap/camel-imap-command.c (camel_imap_response_free): Given: * 4 EXISTS * 1 EXPUNGE We have to pass 3, not 4 to camel_imap_folder_changed for the exists count. Fixes ximian bug #2112 (finally!). svn path=/trunk/; revision=11133
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-command.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/camel/providers/imap/camel-imap-command.c b/camel/providers/imap/camel-imap-command.c
index 6f19e579e4..6bca74538d 100644
--- a/camel/providers/imap/camel-imap-command.c
+++ b/camel/providers/imap/camel-imap-command.c
@@ -402,6 +402,13 @@ camel_imap_response_free (CamelImapStore *store, CamelImapResponse *response)
sizeof (int));
}
g_array_append_val (expunged, number);
+
+ /* camel_imap_folder_changed expects
+ * "exists" to be the value after all
+ * expunges.
+ */
+ if (exists)
+ exists--;
}
}
g_free (resp);