From 509a70e7dac545dc0e9015b11d072e17b04e677e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 30 Jul 2006 18:59:03 +0000 Subject: r17327: when the connect with the ipv6 socket was ok, we need to inform the caller... metze (This used to be commit 40f10dfd60a6d572539c85cb2637ca920e5f1bca) --- source4/librpc/rpc/dcerpc_sock.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/librpc/rpc/dcerpc_sock.c b/source4/librpc/rpc/dcerpc_sock.c index 05c66cd796..1be63f449c 100644 --- a/source4/librpc/rpc/dcerpc_sock.c +++ b/source4/librpc/rpc/dcerpc_sock.c @@ -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); -- cgit