aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
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 /camel/providers
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
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-folder.c5
1 files changed, 5 insertions, 0 deletions
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)