1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

r23991: Some const

(This used to be commit 804be77e4695eb923048948dbc6e223967fdef94)
This commit is contained in:
Volker Lendecke 2007-07-22 13:51:39 +00:00 committed by Gerald (Jerry) Carter
parent 8579dd4ded
commit ece86db24c
2 changed files with 2 additions and 2 deletions

View 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) {

View 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);