From b787b6e1bd70f90702568fa4503c1d2e6ca0a59e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 10 Oct 2011 15:58:24 +0200 Subject: libcli/cldap: don't pass tevent_context to cldap_socket_init() metze Autobuild-User: Stefan Metzmacher Autobuild-Date: Mon Oct 10 23:23:07 CEST 2011 on sn-devel-104 --- source4/libnet/libnet_become_dc.c | 3 +-- source4/libnet/libnet_site.c | 2 +- source4/libnet/libnet_unbecome_dc.c | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) (limited to 'source4/libnet') diff --git a/source4/libnet/libnet_become_dc.c b/source4/libnet/libnet_become_dc.c index 6f70f32903..f0f57d6248 100644 --- a/source4/libnet/libnet_become_dc.c +++ b/source4/libnet/libnet_become_dc.c @@ -773,8 +773,7 @@ static void becomeDC_send_cldap(struct libnet_BecomeDC_state *s) if (!composite_is_ok(c)) return; } - c->status = cldap_socket_init(s, s->libnet->event_ctx, - NULL, dest_address, &s->cldap.sock); + c->status = cldap_socket_init(s, NULL, dest_address, &s->cldap.sock); if (!composite_is_ok(c)) return; req = cldap_netlogon_send(s, s->libnet->event_ctx, diff --git a/source4/libnet/libnet_site.c b/source4/libnet/libnet_site.c index a74dd59a22..288e13d59a 100644 --- a/source4/libnet/libnet_site.c +++ b/source4/libnet/libnet_site.c @@ -69,7 +69,7 @@ NTSTATUS libnet_FindSite(TALLOC_CTX *ctx, struct libnet_context *lctx, struct li } /* we want to use non async calls, so we're not passing an event context */ - status = cldap_socket_init(tmp_ctx, NULL, NULL, dest_address, &cldap); + status = cldap_socket_init(tmp_ctx, NULL, dest_address, &cldap); if (!NT_STATUS_IS_OK(status)) { talloc_free(tmp_ctx); r->out.error_string = NULL; diff --git a/source4/libnet/libnet_unbecome_dc.c b/source4/libnet/libnet_unbecome_dc.c index be28907b5b..a46d1433bc 100644 --- a/source4/libnet/libnet_unbecome_dc.c +++ b/source4/libnet/libnet_unbecome_dc.c @@ -281,8 +281,7 @@ static void unbecomeDC_send_cldap(struct libnet_UnbecomeDC_state *s) if (!composite_is_ok(c)) return; } - c->status = cldap_socket_init(s, s->libnet->event_ctx, - NULL, dest_address, &s->cldap.sock); + c->status = cldap_socket_init(s, NULL, dest_address, &s->cldap.sock); if (!composite_is_ok(c)) return; req = cldap_netlogon_send(s, s->libnet->event_ctx, -- cgit