summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-30 18:59:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:15:15 -0500
commit509a70e7dac545dc0e9015b11d072e17b04e677e (patch)
tree27dd69c6a748e515814e94a8d4827af9ace478fc
parent5c1d8810911af7335bf299fbb871f7230ea7a717 (diff)
downloadsamba-509a70e7dac545dc0e9015b11d072e17b04e677e.tar.gz
samba-509a70e7dac545dc0e9015b11d072e17b04e677e.tar.bz2
samba-509a70e7dac545dc0e9015b11d072e17b04e677e.zip
r17327: when the connect with the ipv6 socket was ok,
we need to inform the caller... metze (This used to be commit 40f10dfd60a6d572539c85cb2637ca920e5f1bca)
-rw-r--r--source4/librpc/rpc/dcerpc_sock.c5
1 files changed, 4 insertions, 1 deletions
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);