From 5aab824c9408ca996e57b0f0a39e9ebf85e6a46a Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 29 Jan 2002 23:13:36 +0000 Subject: Added more kludge to an existing Exchange IMAP 5.5 kludge to work around 2002-01-29 Jeffrey Stedfast * 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 --- camel/providers/imap/camel-imap-folder.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'camel/providers/imap/camel-imap-folder.c') 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); -- cgit v1.2.3