diff options
-rw-r--r-- | librpc/rpc/binding_handle.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/librpc/rpc/binding_handle.c b/librpc/rpc/binding_handle.c index 9354bbdc68..3c74fdfdb1 100644 --- a/librpc/rpc/binding_handle.c +++ b/librpc/rpc/binding_handle.c @@ -494,15 +494,7 @@ static void dcerpc_binding_handle_call_done(struct tevent_req *subreq) NTSTATUS dcerpc_binding_handle_call_recv(struct tevent_req *req) { - NTSTATUS error; - - if (tevent_req_is_nterror(req, &error)) { - tevent_req_received(req); - return error; - } - - tevent_req_received(req); - return NT_STATUS_OK; + return tevent_req_simple_recv_ntstatus(req); } NTSTATUS dcerpc_binding_handle_call(struct dcerpc_binding_handle *h, |