git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4fd82f
)
fix source4/librpc/rpc/dcerpc.c dcerpc_bh_raw_call_recv
author
Stefan Metzmacher
<metze@samba.org>
Sat, 21 Sep 2013 10:30:52 +0000
(12:30 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 4 Jun 2019 11:14:55 +0000
(13:14 +0200)
source4/librpc/rpc/dcerpc.c
patch
|
blob
|
history
diff --git
a/source4/librpc/rpc/dcerpc.c
b/source4/librpc/rpc/dcerpc.c
index 2873f9b2037bfdcd66337f79f4235b6e62e44fb4..b578a2edd105253568cd41c96c352ee8741507c5 100644
(file)
--- a/
source4/librpc/rpc/dcerpc.c
+++ b/
source4/librpc/rpc/dcerpc.c
@@
-362,11
+362,13
@@
static NTSTATUS dcerpc_bh_raw_call_recv(struct tevent_req *req,
struct dcerpc_bh_raw_call_state *state =
tevent_req_data(req,
struct dcerpc_bh_raw_call_state);
- NTSTATUS status;
+ NTSTATUS status
= NT_STATUS_OK
;
- if (tevent_req_is_nterror(req, &status)) {
- tevent_req_received(req);
- return status;
+ if (!tevent_req_is_in_progress(req)) {
+ if (tevent_req_is_nterror(req, &status)) {
+ tevent_req_received(req);
+ return status;
+ }
}
*out_data = talloc_move(mem_ctx, &state->out_data.data);