diff options
-rw-r--r-- | librpc/rpc/binding_handle.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/librpc/rpc/binding_handle.c b/librpc/rpc/binding_handle.c index 89ada1d357..c3dc4731fb 100644 --- a/librpc/rpc/binding_handle.c +++ b/librpc/rpc/binding_handle.c @@ -539,8 +539,7 @@ NTSTATUS dcerpc_binding_handle_call(struct dcerpc_binding_handle *h, return NT_STATUS_NO_MEMORY; } - if (!tevent_req_poll(subreq, ev)) { - status = map_nt_error_from_unix_common(errno); + if (!tevent_req_poll_ntstatus(subreq, ev, &status)) { talloc_free(frame); return status; } |