summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-07-22 13:51:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:53 -0500
commitece86db24cd82b086de69e9681de4fb1f391cc2e (patch)
tree3102439c5c061e8cce107942b2e4fbbfcd855944
parent8579dd4deddb97d851dc03b6961d1a0c01cc7bfa (diff)
downloadsamba-ece86db24cd82b086de69e9681de4fb1f391cc2e.tar.gz
samba-ece86db24cd82b086de69e9681de4fb1f391cc2e.tar.bz2
samba-ece86db24cd82b086de69e9681de4fb1f391cc2e.zip
r23991: Some const
(This used to be commit 804be77e4695eb923048948dbc6e223967fdef94)
-rw-r--r--source3/libsmb/smb_signing.c2
-rw-r--r--source3/rpc_server/srv_pipe_hnd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/smb_signing.c b/source3/libsmb/smb_signing.c
index d893af54f8..c5b1d44586 100644
--- a/source3/libsmb/smb_signing.c
+++ b/source3/libsmb/smb_signing.c
@@ -812,7 +812,7 @@ BOOL srv_oplock_set_signing(BOOL onoff)
Called to validate an incoming packet from the client.
************************************************************/
-BOOL srv_check_sign_mac(char *inbuf, BOOL must_be_ok)
+BOOL srv_check_sign_mac(const char *inbuf, BOOL must_be_ok)
{
/* Check if it's a session keepalive. */
if(CVAL(inbuf,0) == SMBkeepalive) {
diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c
index c4c028fd4b..52518fc714 100644
--- a/source3/rpc_server/srv_pipe_hnd.c
+++ b/source3/rpc_server/srv_pipe_hnd.c
@@ -1246,7 +1246,7 @@ static BOOL close_internal_rpc_pipe_hnd(void *np_conn)
Find an rpc pipe given a pipe handle in a buffer and an offset.
****************************************************************************/
-smb_np_struct *get_rpc_pipe_p(char *buf, int where)
+smb_np_struct *get_rpc_pipe_p(const char *buf, int where)
{
int pnum = SVAL(buf,where);