From 85661c534bf054ccb2b114dcf3cf2fcfb83f80ca Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 4 Jan 2001 18:40:57 +0000 Subject: 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 --- camel/providers/imap/camel-imap-folder.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'camel/providers/imap/camel-imap-folder.c') 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; -- cgit v1.2.3