summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-11-01 17:19:31 +0100
committerVolker Lendecke <vl@samba.org>2008-11-01 19:41:07 +0100
commit63da08d00fdec52a7384b8c3d6a6c6dee3ace7a7 (patch)
treee591a71536fedf0842fa131ac89d23a7338a7c16 /source3/rpc_server
parent7f9d6f80efbc211977b13ece80fff6adbea929ac (diff)
downloadsamba-63da08d00fdec52a7384b8c3d6a6c6dee3ace7a7.tar.gz
samba-63da08d00fdec52a7384b8c3d6a6c6dee3ace7a7.tar.bz2
samba-63da08d00fdec52a7384b8c3d6a6c6dee3ace7a7.zip
Apply some const to np_write()
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_pipe_hnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c
index b892755396..92f89282cf 100644
--- a/source3/rpc_server/srv_pipe_hnd.c
+++ b/source3/rpc_server/srv_pipe_hnd.c
@@ -1046,7 +1046,7 @@ NTSTATUS np_open(struct smb_request *smb_req, struct connection_struct *conn,
return NT_STATUS_OK;
}
-NTSTATUS np_write(struct files_struct *fsp, uint8_t *data, size_t len,
+NTSTATUS np_write(struct files_struct *fsp, const uint8_t *data, size_t len,
ssize_t *nwritten)
{
if (!fsp_is_np(fsp)) {