diff options
Diffstat (limited to 'camel/camel-folder-thread.c')
-rw-r--r-- | camel/camel-folder-thread.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/camel/camel-folder-thread.c b/camel/camel-folder-thread.c index 8f55452c98..af8872c619 100644 --- a/camel/camel-folder-thread.c +++ b/camel/camel-folder-thread.c @@ -554,13 +554,20 @@ camel_folder_thread_messages_new(CamelFolder *folder, GPtrArray *uids) scan->next = newtop->next; /* and link the now 'real' node into the list */ newtop->next = child->next; - c = newtop->next; + c = newtop; e_memchunk_free(thread->node_chunks, child); } else { c = child; } } + /* this is only debug assertion stuff */ + c = (CamelFolderThreadNode *)&head; + while (c->next) { + c = c->next; + if (c->message == NULL) + g_warning("threading missed removing a pseudo node: %s\n", c->root_subject); + } thread->tree = head; |