r17327: when the connect with the ipv6 socket was ok,
authorStefan Metzmacher <metze@samba.org>
Sun, 30 Jul 2006 18:59:03 +0000 (18:59 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:15:15 +0000 (14:15 -0500)
we need to inform the caller...

metze
(This used to be commit 40f10dfd60a6d572539c85cb2637ca920e5f1bca)

source4/librpc/rpc/dcerpc_sock.c

index 05c66cd7965b1b26f16acdd8247f56c6b93818c1..1be63f449cb55371d4cb0fef2935979ffbd51400 100644 (file)
@@ -386,7 +386,10 @@ void continue_ipv6_open_socket(struct composite_context *ctx)
 
        /* receive result of socket open request */
        c->status = dcerpc_pipe_open_socket_recv(ctx);
-       if (NT_STATUS_IS_OK(c->status)) return;
+       if (NT_STATUS_IS_OK(c->status)) {
+               composite_done(c);
+               return;
+       }
 
        talloc_free(s->srvaddr);