git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0c0657
)
rpc_client: Slightly simplify rpc_api_pipe_req_send()
author
Volker Lendecke
<vl@samba.org>
Tue, 17 Aug 2021 05:42:48 +0000
(07:42 +0200)
committer
Jeremy Allison
<jra@samba.org>
Tue, 24 Aug 2021 17:32:28 +0000
(17:32 +0000)
tevent_req_create() zero-initializes "state"
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/rpc_client/cli_pipe.c
patch
|
blob
|
history
diff --git
a/source3/rpc_client/cli_pipe.c
b/source3/rpc_client/cli_pipe.c
index 030672029921a5db76748caa2101ba848a28c94b..0e01ce1c1390da2bbf4eb1551cdd35642aff1d2e 100644
(file)
--- a/
source3/rpc_client/cli_pipe.c
+++ b/
source3/rpc_client/cli_pipe.c
@@
-1322,10
+1322,7
@@
static struct tevent_req *rpc_api_pipe_req_send(TALLOC_CTX *mem_ctx,
state->op_num = op_num;
state->object_uuid = object_uuid;
state->req_data = req_data;
- state->req_data_sent = 0;
state->call_id = get_rpc_call_id();
- state->reply_pdu = data_blob_null;
- state->rpc_out = data_blob_null;
if (cli->max_xmit_frag < DCERPC_REQUEST_LENGTH
+ RPC_MAX_SIGN_SIZE) {