summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-18 09:06:29 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 23:47:44 +0100
commitf40c93afcbda48ebe109896fb115377a276b4457 (patch)
tree475e62f9d61a7cf3ccbef69a23291f76729e0f15
parentf7aa60175ad7a3517db32f45f06dfbf6486dff69 (diff)
downloadsamba-f40c93afcbda48ebe109896fb115377a276b4457.tar.gz
samba-f40c93afcbda48ebe109896fb115377a276b4457.tar.bz2
samba-f40c93afcbda48ebe109896fb115377a276b4457.zip
libcli/cldap: make use of samba_tevent_context_init()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r--libcli/cldap/cldap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcli/cldap/cldap.c b/libcli/cldap/cldap.c
index 3322bd8e7b..24ce39fefb 100644
--- a/libcli/cldap/cldap.c
+++ b/libcli/cldap/cldap.c
@@ -850,7 +850,7 @@ NTSTATUS cldap_search(struct cldap_socket *cldap,
frame = talloc_stackframe();
- ev = tevent_context_init(frame);
+ ev = samba_tevent_context_init(frame);
if (ev == NULL) {
TALLOC_FREE(frame);
return NT_STATUS_NO_MEMORY;
@@ -1074,7 +1074,7 @@ NTSTATUS cldap_netlogon(struct cldap_socket *cldap,
frame = talloc_stackframe();
- ev = tevent_context_init(frame);
+ ev = samba_tevent_context_init(frame);
if (ev == NULL) {
TALLOC_FREE(frame);
return NT_STATUS_NO_MEMORY;