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:
parent
f7aa60175a
commit
f40c93afcb
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user