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/ChangeLog | 6 ++++++ camel/providers/imap/camel-imap-folder.c | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'camel') 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 + + * 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 * 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); -- cgit v1.2.3