aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap
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 /camel/providers/imap
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
Diffstat (limited to 'camel/providers/imap')
-rw-r--r--camel/providers/imap/camel-imap-folder.c6
1 files changed, 5 insertions, 1 deletions
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);