git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
568bade
)
s4-librpc: Remove dead code in smb_send_request().
author
Andreas Schneider
<asn@samba.org>
Mon, 17 Dec 2012 13:08:59 +0000
(14:08 +0100)
committer
Günther Deschner
<gd@samba.org>
Fri, 21 Dec 2012 12:56:00 +0000
(13:56 +0100)
If trigger_read we return earlier.
Found by Coverity.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source4/librpc/rpc/dcerpc_smb.c
patch
|
blob
|
history
diff --git
a/source4/librpc/rpc/dcerpc_smb.c
b/source4/librpc/rpc/dcerpc_smb.c
index e718725a74e97964ef2fbfbf3ab4b40e6331b7f0..e02631e2b11ee0f2f388e644596edb4e2ab5a8dc 100644
(file)
--- a/
source4/librpc/rpc/dcerpc_smb.c
+++ b/
source4/librpc/rpc/dcerpc_smb.c
@@
-362,10
+362,6
@@
static NTSTATUS smb_send_request(struct dcecli_connection *c, DATA_BLOB *blob,
req->async.fn = smb_write_callback;
req->async.private_data = c;
- if (trigger_read) {
- send_read_request(c);
- }
-
return NT_STATUS_OK;
}