aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);