aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-folder.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-01-05 02:40:57 +0800
committerDan Winship <danw@src.gnome.org>2001-01-05 02:40:57 +0800
commit85661c534bf054ccb2b114dcf3cf2fcfb83f80ca (patch)
treeba4d7337b1b41c3245c69aa17a5356798680e826 /camel/providers/imap/camel-imap-folder.c
parentf325b6f0a78108bd4ad550830117ce48c6b4df31 (diff)
downloadgsoc2013-evolution-85661c534bf054ccb2b114dcf3cf2fcfb83f80ca.tar
gsoc2013-evolution-85661c534bf054ccb2b114dcf3cf2fcfb83f80ca.tar.gz
gsoc2013-evolution-85661c534bf054ccb2b114dcf3cf2fcfb83f80ca.tar.bz2
gsoc2013-evolution-85661c534bf054ccb2b114dcf3cf2fcfb83f80ca.tar.lz
gsoc2013-evolution-85661c534bf054ccb2b114dcf3cf2fcfb83f80ca.tar.xz
gsoc2013-evolution-85661c534bf054ccb2b114dcf3cf2fcfb83f80ca.tar.zst
gsoc2013-evolution-85661c534bf054ccb2b114dcf3cf2fcfb83f80ca.zip
Fix two problems in figuring out server-expunged messages.
* providers/imap/camel-imap-folder.c (imap_rescan): Fix two problems in figuring out server-expunged messages. svn path=/trunk/; revision=7251
Diffstat (limited to 'camel/providers/imap/camel-imap-folder.c')
-rw-r--r--camel/providers/imap/camel-imap-folder.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index 9e9d2a8cd5..302ddee88f 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -292,9 +292,8 @@ imap_rescan (CamelFolder *folder, int exists, CamelException *ex)
iinfo = (CamelImapMessageInfo *)info;
if (strcmp (camel_message_info_uid (info), new[i].uid) != 0) {
- seq = i + 1 - removed->len;
+ seq = i + 1;
g_array_append_val (removed, seq);
- g_free (new[i].uid);
i--;
summary_len--;
continue;