de-duplicate code a bit
This commit is contained in:
parent
4d4de6e275
commit
d2e13f147c
|
@ -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…
Reference in New Issue
Block a user