commit 3426100b1e943a9cb995197557eb12cb4072cd94
Author: Oswald Buddenhagen <[email protected]>
Date: Sun Dec 19 23:33:29 2010 +0100
don't hang if store cannot be opened asynchronously
src/main.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/main.c b/src/main.c
index 107c2e8..4776fc7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -678,8 +678,9 @@ store_opened( store_t *ctx, void *aux )
MVARS(aux)
if (!ctx) {
- mvars->state[t] = ST_CLOSED;
mvars->ret = mvars->skip = 1;
+ mvars->state[t] = ST_CLOSED;
+ sync_chans( mvars, E_OPEN );
return;
}
mvars->ctx[t] = ctx;
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel