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.
This commit is contained in:
parent
aff0c88a38
commit
96afe8d0c2
1 changed files with 2 additions and 2 deletions
|
@ -1252,9 +1252,9 @@ box_opened2( sync_vars_t *svars, int t )
|
||||||
opts[1-t] |= OPEN_FLAGS;
|
opts[1-t] |= OPEN_FLAGS;
|
||||||
if (chan->stores[t]->max_size != INT_MAX) {
|
if (chan->stores[t]->max_size != INT_MAX) {
|
||||||
if (chan->ops[t] & OP_RENEW)
|
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)
|
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) {
|
if (chan->ops[t] & OP_EXPUNGE) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue