dovecot-1.2: THREAD REFS still might have returned one (0) at th...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Apr 17 05:21:40 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/a2a28c52e951
changeset: 8962:a2a28c52e951
user: Timo Sirainen <tss at iki.fi>
date: Thu Apr 16 22:21:36 2009 -0400
description:
THREAD REFS still might have returned one (0) at the beginning.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/index/index-thread-finish.c | 2 +-
diffs (12 lines):
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 @@ static void sort_root_nodes_ref2(struct
/* 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;
More information about the dovecot-cvs
mailing list