aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-01-11 07:15:45 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-01-11 07:15:45 +0800
commitb7b8622a46519317aff2d66645c66380580cceb5 (patch)
tree9c660f79e394076be7494197f7671c11891e65b9
parent7ea986d8c4c528165c092ef305cbfcdda513cd6f (diff)
downloadgsoc2013-evolution-b7b8622a46519317aff2d66645c66380580cceb5.tar
gsoc2013-evolution-b7b8622a46519317aff2d66645c66380580cceb5.tar.gz
gsoc2013-evolution-b7b8622a46519317aff2d66645c66380580cceb5.tar.bz2
gsoc2013-evolution-b7b8622a46519317aff2d66645c66380580cceb5.tar.lz
gsoc2013-evolution-b7b8622a46519317aff2d66645c66380580cceb5.tar.xz
gsoc2013-evolution-b7b8622a46519317aff2d66645c66380580cceb5.tar.zst
gsoc2013-evolution-b7b8622a46519317aff2d66645c66380580cceb5.zip
If mi is NULL, don't bother updating it. Should fix bug #17694.
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. svn path=/trunk/; revision=15290
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/providers/imap/camel-imap-folder.c5
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)