diff options
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-folder.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 135b47f85c..96eab123fb 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,10 @@ 2002-01-10 Jeffrey Stedfast <fejj@ximian.com> + * providers/imap/camel-imap-folder.c (imap_update_summary): If mi + is NULL, don't bother updating it. Should fix bug #17694. + +2002-01-10 Jeffrey Stedfast <fejj@ximian.com> + * camel.h: #include camel-mime-filter-tohtml.h * providers/imap/camel-imap-folder.c (imap_update_summary): Kludge diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index d1b29a800d..89082fded2 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -1850,7 +1850,12 @@ imap_update_summary (CamelFolder *folder, int exists, g_datalist_clear (&data); continue; } + mi = messages->pdata[seq - first]; + if (mi == NULL) { + g_datalist_clear (&data); + continue; + } uid = g_datalist_get_data (&data, "UID"); if (uid) |