commit f368cad0f4aeec72dc2218870beb7f189ceaee51 Author: Oswald Buddenhagen <o...@users.sf.net> Date: Sun Dec 29 12:59:40 2019 +0100
fix propagation of flagged oversized messages ... when not syncing flags and the target is not being expunged, as in that case flags were not queried in time. src/sync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sync.c b/src/sync.c index 7a8ae69..60328ed 100644 --- a/src/sync.c +++ b/src/sync.c @@ -1259,9 +1259,9 @@ box_opened2( sync_vars_t *svars, int t ) opts[1-t] |= OPEN_FLAGS; if (chan->stores[t]->max_size != UINT_MAX) { // Propagate previously too big msgs if (chan->ops[t] & OP_RENEW) - opts[1-t] |= OPEN_OLD_SIZE; + opts[1-t] |= OPEN_FLAGS|OPEN_OLD_SIZE; if (chan->ops[t] & OP_NEW) - opts[1-t] |= OPEN_NEW_SIZE; + opts[1-t] |= OPEN_FLAGS|OPEN_NEW_SIZE; } } if (chan->ops[t] & OP_EXPUNGE) { _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel