summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/filename.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index 9f2fe60f47..a5800aa85b 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -27,7 +27,7 @@
#include "includes.h"
static bool get_real_filename(connection_struct *conn, const char *path,
- char *name, TALLOC_CTX *mem_ctx,
+ const char *name, TALLOC_CTX *mem_ctx,
char **found_name);
static NTSTATUS build_stream_path(TALLOC_CTX *mem_ctx,
connection_struct *conn,
@@ -770,7 +770,7 @@ static bool fname_equal(const char *name1, const char *name2,
****************************************************************************/
static bool get_real_filename(connection_struct *conn, const char *path,
- char *name, TALLOC_CTX *mem_ctx,
+ const char *name, TALLOC_CTX *mem_ctx,
char **found_name)
{
struct smb_Dir *cur_dir;