isync

mailbox synchronization program
git clone https://git.code.sf.net/p/isync/isync
Log | Files | Refs | README | LICENSE

commit 96afe8d0c26871472e7132066b93ef4246ae89af
parent aff0c88a38ddeba1926b9512f1cfeceff46387d4
Author: Oswald Buddenhagen <ossi@users.sf.net>
Date:   Sun, 29 Dec 2019 12:59:40 +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.

Diffstat:
Msrc/sync.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/sync.c b/src/sync.c @@ -1252,9 +1252,9 @@ box_opened2( sync_vars_t *svars, int t ) opts[1-t] |= OPEN_FLAGS; if (chan->stores[t]->max_size != INT_MAX) { 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) {