From 7982d2aff89c7ff8a2371163bad5f9f88be6af46 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 6 Jun 2013 11:31:37 +0200 Subject: librpc: Use tevent_req_poll_ntstatus Signed-off-by: Volker Lendecke Reviewed-by: Stefan Metzmacher --- librpc/rpc/binding_handle.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'librpc/rpc') 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; } -- cgit