]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r23992: Some const
authorVolker Lendecke <vlendec@samba.org>
Sun, 22 Jul 2007 17:13:46 +0000 (17:13 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:28:53 +0000 (12:28 -0500)
(This used to be commit bc106cf50732ed6c169dcf593797501fcb3ae675)

source3/smbd/reply.c

index 0062ca18dac8c639c72a1f2e3de9c41cf9058ab7..f8d3bb8c48944d7b087d4ccca043a751c1408918 100644 (file)
@@ -207,7 +207,7 @@ NTSTATUS check_path_syntax_posix(char *path)
  Pull a string and check the path allowing a wilcard - provide for error return.
 ****************************************************************************/
 
-size_t srvstr_get_path_wcard(char *inbuf, uint16 smb_flags2, char *dest,
+size_t srvstr_get_path_wcard(const char *inbuf, uint16 smb_flags2, char *dest,
                             const char *src, size_t dest_len, size_t src_len,
                             int flags, NTSTATUS *err, BOOL *contains_wcard)
 {
@@ -248,7 +248,7 @@ size_t srvstr_get_path_wcard(char *inbuf, uint16 smb_flags2, char *dest,
  Pull a string and check the path - provide for error return.
 ****************************************************************************/
 
-size_t srvstr_get_path(char *inbuf, uint16 smb_flags2, char *dest,
+size_t srvstr_get_path(const char *inbuf, uint16 smb_flags2, char *dest,
                       const char *src, size_t dest_len, size_t src_len,
                       int flags, NTSTATUS *err)
 {