dovecot-2.2: dsync: Use full hostname+domain when comparing if h...
dovecot at dovecot.org
dovecot at dovecot.org
Sun Feb 17 07:05:52 EET 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/e7aabd79c9d5
changeset: 15815:e7aabd79c9d5
user: Timo Sirainen <tss at iki.fi>
date: Sun Feb 17 07:05:08 2013 +0200
description:
dsync: Use full hostname+domain when comparing if hosts are different in locking.
diffstat:
src/doveadm/dsync/dsync-brain.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r e63d1cf19ec7 -r e7aabd79c9d5 src/doveadm/dsync/dsync-brain.c
--- a/src/doveadm/dsync/dsync-brain.c Sat Feb 16 18:57:33 2013 +0200
+++ b/src/doveadm/dsync/dsync-brain.c Sun Feb 17 07:05:08 2013 +0200
@@ -117,7 +117,7 @@
dsync_brain_mailbox_trees_init(brain);
memset(&ibc_set, 0, sizeof(ibc_set));
- ibc_set.hostname = my_hostname;
+ ibc_set.hostname = my_hostdomain();
ibc_set.sync_ns_prefix = sync_ns == NULL ? NULL : sync_ns->prefix;
ibc_set.sync_box = sync_box;
ibc_set.sync_type = sync_type;
@@ -146,7 +146,7 @@
brain->state = DSYNC_STATE_SLAVE_RECV_HANDSHAKE;
memset(&ibc_set, 0, sizeof(ibc_set));
- ibc_set.hostname = my_hostname;
+ ibc_set.hostname = my_hostdomain();
dsync_ibc_send_handshake(ibc, &ibc_set);
dsync_ibc_set_io_callback(ibc, dsync_brain_run_io, brain);
More information about the dovecot-cvs
mailing list