Browse Source

remove assumption about value of M constant

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

2
src/sync.c

@ -1275,7 +1275,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) if ((srec->status & (S_EXPIRE|S_EXPIRED)) && (t == M))
sflags &= ~F_DELETED; sflags &= ~F_DELETED;
srec->aflags[t] = sflags & ~srec->flags; srec->aflags[t] = sflags & ~srec->flags;
srec->dflags[t] = ~sflags & srec->flags; srec->dflags[t] = ~sflags & srec->flags;

Loading…
Cancel
Save