dovecot-2.2: dsync: Don't try to use the new "finish" state with...

dovecot at dovecot.org dovecot at dovecot.org
Tue Mar 31 16:18:09 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/89cbb9347de7
changeset: 18394:89cbb9347de7
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Apr 01 01:16:57 2015 +0900
description:
dsync: Don't try to use the new "finish" state with old dsync versions.

diffstat:

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

diffs (13 lines):

diff -r 00477ec143b9 -r 89cbb9347de7 src/doveadm/dsync/dsync-ibc-stream.c
--- a/src/doveadm/dsync/dsync-ibc-stream.c	Sat Mar 28 01:23:47 2015 +0200
+++ b/src/doveadm/dsync/dsync-ibc-stream.c	Wed Apr 01 01:16:57 2015 +0900
@@ -126,7 +126,8 @@
 	},
 	{ .name = "finish",
 	  .chr = 'F',
-	  .optional_keys = "error mail_error"
+	  .optional_keys = "error mail_error",
+	  .min_minor_version = DSYNC_PROTOCOL_MINOR_HAVE_FINISH
 	},
 	{ .name = "mailbox_cache_field",
 	  .chr = 'c',


More information about the dovecot-cvs mailing list