summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/dcerpc_sock.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc/rpc/dcerpc_sock.c')
-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;