summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/rpc/dcerpc_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc_tcp.c b/source4/librpc/rpc/dcerpc_tcp.c
index e28e939a7a..130f20a861 100644
--- a/source4/librpc/rpc/dcerpc_tcp.c
+++ b/source4/librpc/rpc/dcerpc_tcp.c
@@ -360,7 +360,7 @@ NTSTATUS dcerpc_pipe_open_tcp(struct dcerpc_pipe **p,
tcp->fd = fd;
tcp->server_name = talloc_strdup((*p), server);
- tcp->event_ctx = event_context_init();
+ tcp->event_ctx = event_context_init(tcp);
tcp->pending_send = NULL;
tcp->recv.received = 0;
tcp->recv.data = data_blob(NULL, 0);