r23991: Some const
authorVolker Lendecke <vlendec@samba.org>
Sun, 22 Jul 2007 13:51:39 +0000 (13:51 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:28:53 +0000 (12:28 -0500)
source/libsmb/smb_signing.c
source/rpc_server/srv_pipe_hnd.c

index d893af54f80f1ee29028e24bb35483c2f6117c61..c5b1d4458653fabdf0b938e7453968828e18370c 100644 (file)
@@ -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) {
index c4c028fd4b17190e3faec98ab9611d50406a1dea..52518fc714b115e1c1f56aa0cda3a4167b0f584b 100644 (file)
@@ -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);