Browse Source

de-duplicate code a bit

wip/maildir-uid-dupes-test
Oswald Buddenhagen 13 years ago
parent
commit
d2e13f147c
  1. 9
      src/main.c

9
src/main.c

@ -684,14 +684,9 @@ store_opened( store_t *ctx, void *aux )
return;
}
mvars->ctx[t] = ctx;
if (mvars->skip) {
mvars->state[t] = ST_OPEN;
sync_chans( mvars, E_OPEN );
return;
}
if (!mvars->boxlist && mvars->chan->patterns && !ctx->listed)
if (!mvars->skip && !mvars->boxlist && mvars->chan->patterns && !ctx->listed) {
mvars->drv[t]->list( ctx, store_listed, AUX );
else {
} else {
mvars->state[t] = ST_OPEN;
sync_chans( mvars, E_OPEN );
}

Loading…
Cancel
Save