Browse Source

micro-optimization/-clarification: swap condition order

wip/maildir-uid-dupes-test
Oswald Buddenhagen 11 years ago
parent
commit
9a62521cff
  1. 2
      src/sync.c

2
src/sync.c

@ -1333,7 +1333,7 @@ box_loaded( int sts, void *aux )
/* a) & b.3) / c.3) */ /* a) & b.3) / c.3) */
if (svars->chan->ops[t] & OP_FLAGS) { if (svars->chan->ops[t] & OP_FLAGS) {
sflags = srec->msg[1-t]->flags; sflags = srec->msg[1-t]->flags;
if ((srec->status & (S_EXPIRE|S_EXPIRED)) && (t == M)) { if ((t == M) && (srec->status & (S_EXPIRE|S_EXPIRED))) {
/* Don't propagate deletion resulting from expiration. */ /* Don't propagate deletion resulting from expiration. */
sflags &= ~F_DELETED; sflags &= ~F_DELETED;
} }

Loading…
Cancel
Save