aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-08-07 05:55:09 +0800
committerDan Winship <danw@src.gnome.org>2001-08-07 05:55:09 +0800
commit58e53223b1999d4b2207db0464f02e1cad9d4618 (patch)
tree8239671d19e5a159450ba48ef79b2ac865b616a1 /camel/providers/imap
parent739376df3bf27a0e95466ffb67f62a9711430716 (diff)
downloadgsoc2013-evolution-58e53223b1999d4b2207db0464f02e1cad9d4618.tar
gsoc2013-evolution-58e53223b1999d4b2207db0464f02e1cad9d4618.tar.gz
gsoc2013-evolution-58e53223b1999d4b2207db0464f02e1cad9d4618.tar.bz2
gsoc2013-evolution-58e53223b1999d4b2207db0464f02e1cad9d4618.tar.lz
gsoc2013-evolution-58e53223b1999d4b2207db0464f02e1cad9d4618.tar.xz
gsoc2013-evolution-58e53223b1999d4b2207db0464f02e1cad9d4618.tar.zst
gsoc2013-evolution-58e53223b1999d4b2207db0464f02e1cad9d4618.zip
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
Diffstat (limited to 'camel/providers/imap')
-rw-r--r--camel/providers/imap/camel-imap-folder.c2
1 files changed, 1 insertions, 1 deletions
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. */