summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-06-06 11:31:37 +0200
committerStefan Metzmacher <metze@samba.org>2013-06-14 20:30:33 +0200
commit7982d2aff89c7ff8a2371163bad5f9f88be6af46 (patch)
treecea8a95fd2c6679b1254e0ef50d98d797ac2b6b5 /librpc
parent20bede7baa3576aa0f97ceb2533db6e33d587b69 (diff)
downloadsamba-7982d2aff89c7ff8a2371163bad5f9f88be6af46.tar.gz
samba-7982d2aff89c7ff8a2371163bad5f9f88be6af46.tar.bz2
samba-7982d2aff89c7ff8a2371163bad5f9f88be6af46.zip
librpc: Use tevent_req_poll_ntstatus
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/rpc/binding_handle.c3
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;
}