dovecot-2.1: dsync: GUIDs are case-sensitive, make GUID hash tab...

dovecot at dovecot.org dovecot at dovecot.org
Fri Feb 17 00:34:32 EET 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/aa25bb2384ce
changeset: 14164:aa25bb2384ce
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Feb 17 00:32:06 2012 +0200
description:
dsync: GUIDs are case-sensitive, make GUID hash table be as well.

diffstat:

 src/doveadm/dsync/dsync-brain-msgs.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r edf5a4788242 -r aa25bb2384ce src/doveadm/dsync/dsync-brain-msgs.c
--- a/src/doveadm/dsync/dsync-brain-msgs.c	Fri Feb 17 00:30:54 2012 +0200
+++ b/src/doveadm/dsync/dsync-brain-msgs.c	Fri Feb 17 00:32:06 2012 +0200
@@ -451,8 +451,8 @@
 	i_array_init(&iter->uid_conflicts, 128);
 	i_array_init(&iter->new_msgs, 128);
 	iter->guid_hash = hash_table_create(default_pool, sync->pool, 10000,
-					    strcase_hash,
-					    (hash_cmp_callback_t *)strcasecmp);
+					    str_hash,
+					    (hash_cmp_callback_t *)strcmp);
 
 	iter->iter = dsync_worker_msg_iter_init(worker, mailboxes,
 						mailbox_count);


More information about the dovecot-cvs mailing list