diff options
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 4 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-folder.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 05df802ff0..728e0192c1 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,9 @@ 2001-08-06 Dan Winship <danw@ximian.com> + * 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. + * providers/imap/camel-imap-store.c (get_folder_info_online): Do a refresh_info on the selected folder before looking at its unread count. Should fix bug #4944. 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. */ |