aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder-thread.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-01-22 14:24:30 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-01-22 14:24:30 +0800
commit0175b0b3eaf4a327e0627b14d7b93e6875e765d8 (patch)
tree25f267b74e06acbbfee6a5b02ab68692d891cd86 /camel/camel-folder-thread.c
parent6adb44b607e483357a6784ce75c26f411be143b0 (diff)
downloadgsoc2013-evolution-0175b0b3eaf4a327e0627b14d7b93e6875e765d8.tar
gsoc2013-evolution-0175b0b3eaf4a327e0627b14d7b93e6875e765d8.tar.gz
gsoc2013-evolution-0175b0b3eaf4a327e0627b14d7b93e6875e765d8.tar.bz2
gsoc2013-evolution-0175b0b3eaf4a327e0627b14d7b93e6875e765d8.tar.lz
gsoc2013-evolution-0175b0b3eaf4a327e0627b14d7b93e6875e765d8.tar.xz
gsoc2013-evolution-0175b0b3eaf4a327e0627b14d7b93e6875e765d8.tar.zst
gsoc2013-evolution-0175b0b3eaf4a327e0627b14d7b93e6875e765d8.zip
When removing phantom nodes, check for the end node too.
2001-01-22 Not Zed <NotZed@Ximian.com> * camel-folder-thread.c (camel_folder_thread_messages_new): When removing phantom nodes, check for the end node too. * camel-filter-driver.[ch]: Changed status vars to be CAMEL_FILTER_STATUS_ etc. svn path=/trunk/; revision=7700
Diffstat (limited to 'camel/camel-folder-thread.c')
-rw-r--r--camel/camel-folder-thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-folder-thread.c b/camel/camel-folder-thread.c
index 2e84e73767..8f55452c98 100644
--- a/camel/camel-folder-thread.c
+++ b/camel/camel-folder-thread.c
@@ -538,7 +538,7 @@ camel_folder_thread_messages_new(CamelFolder *folder, GPtrArray *uids)
/* remove any phantom nodes, this could possibly be put in group_root_set()? */
c = (CamelFolderThreadNode *)&head;
- while (c->next) {
+ while (c && c->next) {
CamelFolderThreadNode *scan, *newtop;
child = c->next;