commit fc5da2fd0a11bf5f26eda1f5ade443bac1f2addd
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;

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to