aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-07-28 10:02:51 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-07-28 10:02:51 +0800
commita28ef9db3c65d1110f58d08a460fad88ad24c3ce (patch)
tree2821ef4c4d686d3f27424b9fe11770a25ab2a0eb /camel
parent8a7e082b56eba1d4541c1ca696a652ad9c1bb3b3 (diff)
downloadgsoc2013-evolution-a28ef9db3c65d1110f58d08a460fad88ad24c3ce.tar.gz
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')
-rw-r--r--camel/ChangeLog8
-rw-r--r--camel/providers/imap/camel-imap-folder.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 74b8ecbb4a..afea44e1fc 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,13 @@
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.
+
+2000-07-27 Jeffrey Stedfast <fejj@helixcode.com>
+
* camel-url.c (camel_url_to_string): If the path doesn't begin
with a / and there is a host, prepend a / to the path.
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);