dovecot-2.2: dsync: Fix to checking which side should do the loc...

dovecot at dovecot.org dovecot at dovecot.org
Mon Feb 18 06:32:03 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/df29194c1ab6
changeset: 15825:df29194c1ab6
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Feb 18 06:31:51 2013 +0200
description:
dsync: Fix to checking which side should do the locking.

diffstat:

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

diffs (12 lines):

diff -r 953594b35bb3 -r df29194c1ab6 src/doveadm/dsync/dsync-brain.c
--- a/src/doveadm/dsync/dsync-brain.c	Sun Feb 17 11:48:16 2013 +0200
+++ b/src/doveadm/dsync/dsync-brain.c	Mon Feb 18 06:31:51 2013 +0200
@@ -193,7 +193,7 @@
 	const char *home;
 	int ret;
 
-	if ((ret = strcmp(remote_hostname, my_hostname)) < 0) {
+	if ((ret = strcmp(remote_hostname, my_hostdomain())) < 0) {
 		/* locking done by remote */
 		return 0;
 	}


More information about the dovecot-cvs mailing list