From f3915cf0ec9ac51f541cafcb367221a3dac3aec8 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 18 Feb 2013 09:10:34 +0100 Subject: s3:lib: make use of samba_tevent_context_init() Signed-off-by: Stefan Metzmacher Reviewed-by: Michael Adam --- source3/lib/tldap.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/lib/tldap.c') diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c index 765580fd81..8e91234422 100644 --- a/source3/lib/tldap.c +++ b/source3/lib/tldap.c @@ -901,7 +901,7 @@ int tldap_sasl_bind(struct tldap_context *ld, struct tevent_req *req; int result; - ev = event_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { result = TLDAP_NO_MEMORY; goto fail; @@ -1824,7 +1824,7 @@ int tldap_search(struct tldap_context *ld, state.mem_ctx = mem_ctx; state.rc = TLDAP_SUCCESS; - ev = event_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { state.rc = TLDAP_NO_MEMORY; goto fail; @@ -2141,7 +2141,7 @@ int tldap_add(struct tldap_context *ld, const char *dn, struct tevent_req *req; int result; - ev = event_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { result = TLDAP_NO_MEMORY; goto fail; @@ -2241,7 +2241,7 @@ int tldap_modify(struct tldap_context *ld, const char *dn, struct tevent_req *req; int result; - ev = event_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { result = TLDAP_NO_MEMORY; goto fail; @@ -2317,7 +2317,7 @@ int tldap_delete(struct tldap_context *ld, const char *dn, struct tevent_req *req; int result; - ev = event_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { result = TLDAP_NO_MEMORY; goto fail; -- cgit