From 4d3376e919b5c33f272b3a584d8172729a7468e0 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 5 Jan 2014 07:56:20 +0100 Subject: [PATCH] s3:rpc_client: add some const to rpc_api_pipe_req_send() Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- source3/rpc_client/cli_pipe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 11e3eb3f29e..94bf3d1601f 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -1139,7 +1139,7 @@ struct rpc_api_pipe_req_state { struct rpc_pipe_client *cli; uint8_t op_num; uint32_t call_id; - DATA_BLOB *req_data; + const DATA_BLOB *req_data; uint32_t req_data_sent; DATA_BLOB rpc_out; DATA_BLOB reply_pdu; @@ -1154,7 +1154,7 @@ static struct tevent_req *rpc_api_pipe_req_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct rpc_pipe_client *cli, uint8_t op_num, - DATA_BLOB *req_data) + const DATA_BLOB *req_data) { struct tevent_req *req, *subreq; struct rpc_api_pipe_req_state *state;