aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-01-03 06:13:32 +0800
committerDan Winship <danw@src.gnome.org>2001-01-03 06:13:32 +0800
commit70844a59a3e7acb053f679f241fbb70d4ce79209 (patch)
treebf48c449460df16d7fbdb39dc796c73563178067 /camel
parentb1a4da002f0414ceb1c8f579edba47c600762a9c (diff)
downloadgsoc2013-evolution-70844a59a3e7acb053f679f241fbb70d4ce79209.tar.gz
gsoc2013-evolution-70844a59a3e7acb053f679f241fbb70d4ce79209.tar.zst
gsoc2013-evolution-70844a59a3e7acb053f679f241fbb70d4ce79209.zip
fix off-by-one
svn path=/trunk/; revision=7217
Diffstat (limited to 'camel')
-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 005affb629..3fa5ce8cde 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -732,7 +732,7 @@ camel_imap_folder_changed (CamelFolder *folder, int exists,
len = camel_folder_summary_count (folder->summary);
if (exists > len)
- imap_update_summary (folder, len, exists, changes, ex);
+ imap_update_summary (folder, len + 1, exists, changes, ex);
if (camel_folder_change_info_changed (changes)) {
camel_object_trigger_event (CAMEL_OBJECT (folder),