From b7b8622a46519317aff2d66645c66380580cceb5 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 10 Jan 2002 23:15:45 +0000 Subject: If mi is NULL, don't bother updating it. Should fix bug #17694. 2002-01-10 Jeffrey Stedfast * providers/imap/camel-imap-folder.c (imap_update_summary): If mi is NULL, don't bother updating it. Should fix bug #17694. svn path=/trunk/; revision=15290 --- camel/ChangeLog | 5 +++++ camel/providers/imap/camel-imap-folder.c | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index 135b47f85c..96eab123fb 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,8 @@ +2002-01-10 Jeffrey Stedfast + + * 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 * camel.h: #include camel-mime-filter-tohtml.h 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) -- cgit v1.2.3