# HG changeset patch # User Timo Sirainen # Date 1239934896 14400 # Node ID a2a28c52e951c2220a74b651574eb14fe7bfd686 # Parent b2cd58981808d5c18af8ca683405cd462da9934f THREAD REFS still might have returned one (0) at the beginning. diff -r b2cd58981808 -r a2a28c52e951 src/lib-storage/index/index-thread-finish.c --- a/src/lib-storage/index/index-thread-finish.c Thu Apr 16 22:08:01 2009 -0400 +++ b/src/lib-storage/index/index-thread-finish.c Thu Apr 16 22:21:36 2009 -0400 @@ -428,7 +428,7 @@ /* drop childless dummy nodes */ shadows = array_idx(&ctx->shadow_nodes, 0); - for (idx = 1; idx < root_count; idx++) { + for (idx = 0; idx < root_count; idx++) { if (roots[idx].dummy && shadows[roots[idx].node.idx].first_child_idx == 0) roots[idx].ignore = TRUE;