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
This commit is contained in:
Dan Winship
2001-01-04 18:40:57 +00:00
parent f325b6f0a7
commit 85661c534b

View File

@ -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;