changeset 14183:aa25bb2384ce

dsync: GUIDs are case-sensitive, make GUID hash table be as well.
author Timo Sirainen <tss@iki.fi>
date Fri, 17 Feb 2012 00:32:06 +0200
parents edf5a4788242
children c581f6c1eef9
files src/doveadm/dsync/dsync-brain-msgs.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);