diff options
Diffstat (limited to 'camel/providers/imap')
-rw-r--r-- | camel/providers/imap/camel-imap-folder.c | 6 |
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); |