From 58e53223b1999d4b2207db0464f02e1cad9d4618 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 6 Aug 2001 21:55:09 +0000 Subject: Fix off-by-one error in cleaning up deleted messages at the end of the * providers/imap/camel-imap-folder.c (imap_rescan): Fix off-by-one error in cleaning up deleted messages at the end of the folder. Fixes bug #5585 and maybe others. svn path=/trunk/; revision=11712 --- camel/providers/imap/camel-imap-folder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 054fd7c6a0..451d0363e6 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -531,7 +531,7 @@ imap_rescan (CamelFolder *folder, int exists, CamelException *ex) * repeatedly add the same number to the removed array. * See RFC2060 7.4.1) */ - for (i = seq; i < summary_len; i++) + for (i = seq; i <= summary_len; i++) g_array_append_val (removed, seq); /* And finally update the summary. */ -- cgit v1.2.3