summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/reply.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 0062ca18da..f8d3bb8c48 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -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)
{