mirror of
https://github.com/samba-team/samba.git
synced 2025-08-08 13:49:29 +03:00
librpc/rpc: 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:
committed by
Michael Adam
parent
4ea37dd521
commit
3d5bb24a7b
@ -209,7 +209,7 @@ NTSTATUS dcerpc_binding_handle_raw_call(struct dcerpc_binding_handle *h,
|
||||
if (h->sync_ev) {
|
||||
ev = h->sync_ev;
|
||||
} else {
|
||||
ev = tevent_context_init(frame);
|
||||
ev = samba_tevent_context_init(frame);
|
||||
}
|
||||
if (ev == NULL) {
|
||||
talloc_free(frame);
|
||||
@ -524,7 +524,7 @@ NTSTATUS dcerpc_binding_handle_call(struct dcerpc_binding_handle *h,
|
||||
if (h->sync_ev) {
|
||||
ev = h->sync_ev;
|
||||
} else {
|
||||
ev = tevent_context_init(frame);
|
||||
ev = samba_tevent_context_init(frame);
|
||||
}
|
||||
if (ev == NULL) {
|
||||
talloc_free(frame);
|
||||
|
Reference in New Issue
Block a user