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
This commit is contained in:
Jeffrey Stedfast
2002-01-10 23:15:45 +00:00
committed by Jeffrey Stedfast
parent 7ea986d8c4
commit b7b8622a46
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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)