libcli/cldap: make use of samba_tevent_context_init()
authorStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2013 08:06:29 +0000 (09:06 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 19 Feb 2013 22:47:44 +0000 (23:47 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
libcli/cldap/cldap.c

index 3322bd8e7b919dfc872712879322526261635b86..24ce39fefb61567be5adb5d169fde946c2dfb1a2 100644 (file)
@@ -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;