1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

libcli/cldap: make use of samba_tevent_context_init()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Stefan Metzmacher 2013-02-18 09:06:29 +01:00 committed by Michael Adam
parent f7aa60175a
commit f40c93afcb

View 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;