diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-07-28 10:02:51 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-07-28 10:02:51 +0800 |
commit | a28ef9db3c65d1110f58d08a460fad88ad24c3ce (patch) | |
tree | 2821ef4c4d686d3f27424b9fe11770a25ab2a0eb /camel/providers | |
parent | 8a7e082b56eba1d4541c1ca696a652ad9c1bb3b3 (diff) | |
download | gsoc2013-evolution-a28ef9db3c65d1110f58d08a460fad88ad24c3ce.tar gsoc2013-evolution-a28ef9db3c65d1110f58d08a460fad88ad24c3ce.tar.gz gsoc2013-evolution-a28ef9db3c65d1110f58d08a460fad88ad24c3ce.tar.bz2 gsoc2013-evolution-a28ef9db3c65d1110f58d08a460fad88ad24c3ce.tar.lz gsoc2013-evolution-a28ef9db3c65d1110f58d08a460fad88ad24c3ce.tar.xz gsoc2013-evolution-a28ef9db3c65d1110f58d08a460fad88ad24c3ce.tar.zst gsoc2013-evolution-a28ef9db3c65d1110f58d08a460fad88ad24c3ce.zip |
Fixed my routine to only fetch new headers, my IDs were off by 1 on the
2000-07-27 Jeffrey Stedfast <fejj@helixcode.com>
* providers/imap/camel-imap-folder.c (camel_imap_folder_changed):
Fixed my routine to only fetch new headers, my IDs were off by 1
on the high end, so when it would fetch the last newly arrived
message it would fail and end up fetching all of the summaries
because of the corruption.
svn path=/trunk/; revision=4404
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/imap/camel-imap-folder.c | 2 |
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 343d7e9f24..bdedcd57a4 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -1380,7 +1380,7 @@ camel_imap_folder_changed (CamelFolder *folder, gint recent, CamelException *ex) imap_folder->summary_hash = g_hash_table_new (g_str_hash, g_str_equal); } - last = imap_folder->summary->len + 1; + last = imap_folder->summary->len; for (i = last; i < last + recent; i++) { info = imap_get_message_info_internal (folder, i); |