summaryrefslogtreecommitdiff
path: root/source3/lib/tldap.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-18 09:10:34 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 23:47:47 +0100
commitf3915cf0ec9ac51f541cafcb367221a3dac3aec8 (patch)
tree3ca027c697d25ed38d54d68a91b878184dbf5d18 /source3/lib/tldap.c
parent3cad605ee9454ae6000349340073124a8df80896 (diff)
downloadsamba-f3915cf0ec9ac51f541cafcb367221a3dac3aec8.tar.gz
samba-f3915cf0ec9ac51f541cafcb367221a3dac3aec8.tar.bz2
samba-f3915cf0ec9ac51f541cafcb367221a3dac3aec8.zip
s3:lib: make use of samba_tevent_context_init()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/lib/tldap.c')
-rw-r--r--source3/lib/tldap.c10
1 files changed, 5 insertions, 5 deletions
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;