From: Volker Lendecke Date: Sun, 22 Jul 2007 17:13:46 +0000 (+0000) Subject: r23992: Some const X-Git-Tag: samba-4.0.0alpha6~801^2~5282 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=530f6a927baae8eb5c8b1b03295c8ff5ddbc70be;p=thirdparty%2Fsamba.git r23992: Some const (This used to be commit bc106cf50732ed6c169dcf593797501fcb3ae675) --- diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 0062ca18dac..f8d3bb8c489 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) {