commit 51de9ff7f7fbe328dffa5dc97dd8319955e915be Author: Oswald Buddenhagen <o...@kde.org> Date: Sun Jul 15 12:50:41 2012 +0200
de-duplicate code a bit src/main.c | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/main.c b/src/main.c index 5156212..1c5f2e1 100644 --- a/src/main.c +++ b/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 ); } ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel