summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-01-14 11:58:15 +0100
committerGünther Deschner <gd@samba.org>2014-01-16 16:22:51 +0100
commit6e5943af941c2fa2f435b88a52e80d61d9ed3772 (patch)
treef701167dd2a3c2629f1631a04fa883ba20a19331 /source4/libnet
parentc4778504677429457af26957c7c1daec44d1096b (diff)
downloadsamba-6e5943af941c2fa2f435b88a52e80d61d9ed3772.tar.gz
s4:libnet: avoid using dcecli_connection->event_ctx
We should avoid per connection tevent_contexts, the one per libnet_context isn't much better, but a start. Note the pointers have the same value. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_rpc.c b/source4/libnet/libnet_rpc.c
index b298adcfa63..c6e241093eb 100644
--- a/source4/libnet/libnet_rpc.c
+++ b/source4/libnet/libnet_rpc.c
@@ -796,7 +796,7 @@ static void continue_epm_map_binding_send(struct composite_context *c)
if (composite_nomem(talloc_reference(s->final_binding, s->lsa_pipe->binding), c)) return;
epm_map_req = dcerpc_epm_map_binding_send(c, s->final_binding, s->r.in.dcerpc_iface,
- s->lsa_pipe->conn->event_ctx, s->ctx->lp_ctx);
+ s->ctx->event_ctx, s->ctx->lp_ctx);
if (composite_nomem(epm_map_req, c)) return;
composite_continue(c, epm_map_req, continue_epm_map_binding, c);