dovecot-2.2: dsync: Fixed parsing mailbox state from remote dsync.
dovecot at dovecot.org
dovecot at dovecot.org
Thu Jan 3 23:04:39 EET 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/b7d8027a8f74
changeset: 15494:b7d8027a8f74
user: Timo Sirainen <tss at iki.fi>
date: Thu Jan 03 22:53:18 2013 +0200
description:
dsync: Fixed parsing mailbox state from remote dsync.
diffstat:
src/doveadm/dsync/dsync-ibc-stream.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ac63858cbe5f -r b7d8027a8f74 src/doveadm/dsync/dsync-ibc-stream.c
--- a/src/doveadm/dsync/dsync-ibc-stream.c Fri Dec 28 17:02:18 2012 +0200
+++ b/src/doveadm/dsync/dsync-ibc-stream.c Thu Jan 03 22:53:18 2013 +0200
@@ -673,12 +673,12 @@
return DSYNC_IBC_RECV_RET_TRYAGAIN;
}
value = dsync_deserializer_decode_get(decoder, "last_common_uid");
- if (str_to_uint32(value, &state_r->last_uidvalidity) < 0) {
+ if (str_to_uint32(value, &state_r->last_common_uid) < 0) {
dsync_ibc_input_error(ibc, decoder, "Invalid last_common_uid");
return DSYNC_IBC_RECV_RET_TRYAGAIN;
}
value = dsync_deserializer_decode_get(decoder, "last_common_modseq");
- if (str_to_uint32(value, &state_r->last_uidvalidity) < 0) {
+ if (str_to_uint64(value, &state_r->last_common_modseq) < 0) {
dsync_ibc_input_error(ibc, decoder, "Invalid last_common_modseq");
return DSYNC_IBC_RECV_RET_TRYAGAIN;
}
More information about the dovecot-cvs
mailing list