dovecot-1.2: mail_hash_update() updated wrong index.

dovecot at dovecot.org dovecot at dovecot.org
Thu Jun 12 02:54:46 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/e1c13a782399
changeset: 7832:e1c13a782399
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Jun 12 02:24:03 2008 +0300
description:
mail_hash_update() updated wrong index.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/index/index-thread-links.c |    2 +-

diffs (12 lines):

diff -r b2d18f10b5a7 -r e1c13a782399 src/lib-storage/index/index-thread-links.c
--- a/src/lib-storage/index/index-thread-links.c	Thu Jun 12 02:15:38 2008 +0300
+++ b/src/lib-storage/index/index-thread-links.c	Thu Jun 12 02:24:03 2008 +0300
@@ -101,7 +101,7 @@ static void thread_link_reference(struct
 	child = mail_hash_lookup_idx(ctx->hash_trans, child_idx);
 
 	child->link_refcount++;
-	mail_hash_update(ctx->hash_trans, parent_idx);
+	mail_hash_update(ctx->hash_trans, child_idx);
 
 	if (thread_node_has_ancestor(ctx, parent, child)) {
 		if (parent == child) {


More information about the dovecot-cvs mailing list