aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-01-30 07:13:36 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-01-30 07:13:36 +0800
commit5aab824c9408ca996e57b0f0a39e9ebf85e6a46a (patch)
tree6d3d2f653e6b1be849d04c8435efc38ba71c89cc
parent10451271268c699cdd23f1cfaf61be1cf56f0883 (diff)
downloadgsoc2013-evolution-5aab824c9408ca996e57b0f0a39e9ebf85e6a46a.tar.gz
gsoc2013-evolution-5aab824c9408ca996e57b0f0a39e9ebf85e6a46a.tar.zst
gsoc2013-evolution-5aab824c9408ca996e57b0f0a39e9ebf85e6a46a.zip
Added more kludge to an existing Exchange IMAP 5.5 kludge to work around
2002-01-29 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (imap_update_summary): Added more kludge to an existing Exchange IMAP 5.5 kludge to work around it returning multiple messages with the same UIDs. svn path=/trunk/; revision=15513
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/imap/camel-imap-folder.c6
2 files changed, 11 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index baa50d48fc..29be96a79e 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2002-01-29 Jeffrey Stedfast <fejj@ximian.com>
+
+ * providers/imap/camel-imap-folder.c (imap_update_summary): Added
+ more kludge to an existing Exchange IMAP 5.5 kludge to work around
+ it returning multiple messages with the same UIDs.
+
2002-01-28 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-message.c (process_header): Handle Resent headers
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index e3888ec06f..5db154a5fd 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -1931,7 +1931,11 @@ imap_update_summary (CamelFolder *folder, int exists,
break;
}
- g_assert (pmi);
+ if (pmi == NULL) {
+ /* Server response is *really* fucked up,
+ I guess we just pretend it never happened? */
+ continue;
+ }
mi = camel_message_info_new ();
camel_message_info_dup_to (pmi, mi);