summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-16 23:01:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:17 -0500
commit64e11654d0236a2f3d8a86b47c89801e165a6611 (patch)
tree9146d64177604b06f77c5cb13f7d1ee417014561 /source4
parent10d8a860db5734067c2a7f0326a2f09cf9168fc1 (diff)
downloadsamba-64e11654d0236a2f3d8a86b47c89801e165a6611.tar.gz
samba-64e11654d0236a2f3d8a86b47c89801e165a6611.tar.bz2
samba-64e11654d0236a2f3d8a86b47c89801e165a6611.zip
r7652: use event friendly connect in dcerpc socket code
(This used to be commit 154effd781c901abfcd8f89721c4a6d03c07b670)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/rpc/dcerpc_sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc_sock.c b/source4/librpc/rpc/dcerpc_sock.c
index 8bfba008a2..e309c2720c 100644
--- a/source4/librpc/rpc/dcerpc_sock.c
+++ b/source4/librpc/rpc/dcerpc_sock.c
@@ -306,7 +306,7 @@ static NTSTATUS dcerpc_pipe_open_socket(struct dcerpc_connection *c,
}
talloc_steal(sock, socket_ctx);
- status = socket_connect(socket_ctx, NULL, 0, server, port, 0);
+ status = socket_connect_ev(socket_ctx, NULL, 0, server, port, 0, c->event_ctx);
if (!NT_STATUS_IS_OK(status)) {
talloc_free(sock);
return status;