From: Timo Sirainen Date: Wed, 11 Jun 2008 23:24:03 +0000 (+0300) Subject: mail_hash_update() updated wrong index. X-Git-Tag: 1.2.alpha1~329 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d9abe030d36678ce8c91bc495ed06cee131a3a20;p=thirdparty%2Fdovecot%2Fcore.git mail_hash_update() updated wrong index. --HG-- branch : HEAD --- diff --git a/src/lib-storage/index/index-thread-links.c b/src/lib-storage/index/index-thread-links.c index 23bd9a91f2..239a265fae 100644 --- a/src/lib-storage/index/index-thread-links.c +++ b/src/lib-storage/index/index-thread-links.c @@ -101,7 +101,7 @@ static void thread_link_reference(struct mail_thread_update_context *ctx, 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) {