Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8962:a2a28c52e951 HEAD
THREAD REFS still might have returned one (0) at the beginning.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 16 Apr 2009 22:21:36 -0400 |
parents | b2cd58981808 |
children | 82ba352b51ae |
files | src/lib-storage/index/index-thread-finish.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;