dovecot-2.2: dsync: Fixed syncing to non-remote locations.

dovecot at dovecot.org dovecot at dovecot.org
Mon Jan 21 16:44:39 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/4260de42d93c
changeset: 15656:4260de42d93c
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jan 21 16:44:33 2013 +0200
description:
dsync: Fixed syncing to non-remote locations.

diffstat:

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

diffs (12 lines):

diff -r 5818d8f488c1 -r 4260de42d93c src/doveadm/dsync/doveadm-dsync.c
--- a/src/doveadm/dsync/doveadm-dsync.c	Mon Jan 21 14:43:09 2013 +0200
+++ b/src/doveadm/dsync/doveadm-dsync.c	Mon Jan 21 16:44:33 2013 +0200
@@ -564,6 +564,8 @@
 			   prefix sent before dsync actually starts */
 			ctx->remote_name = ctx->local_location+13;
 			ctx->remote_user_prefix = TRUE;
+		} else {
+			ctx->remote_name = NULL;
 		}
 		remote_cmd_args = ctx->remote_name == NULL ? NULL :
 			parse_ssh_location(ctx, ctx->remote_name,


More information about the dovecot-cvs mailing list