mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
s3-rpc_client: Make data pointer const in trans_send().
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Oct 30 01:32:08 CET 2013 on sn-devel-104
This commit is contained in:
parent
cd8f811247
commit
5990de5d89
@ -64,7 +64,7 @@ struct rpc_cli_transport {
|
||||
*/
|
||||
struct tevent_req *(*trans_send)(TALLOC_CTX *mem_ctx,
|
||||
struct tevent_context *ev,
|
||||
uint8_t *data, size_t data_len,
|
||||
const uint8_t *data, size_t data_len,
|
||||
uint32_t max_rdata_len,
|
||||
void *priv);
|
||||
/**
|
||||
|
@ -356,7 +356,7 @@ static int rpc_tstream_trans_next_vector(struct tstream_context *stream,
|
||||
|
||||
static struct tevent_req *rpc_tstream_trans_send(TALLOC_CTX *mem_ctx,
|
||||
struct tevent_context *ev,
|
||||
uint8_t *data, size_t data_len,
|
||||
const uint8_t *data, size_t data_len,
|
||||
uint32_t max_rdata_len,
|
||||
void *priv)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user