summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/filename.c2
-rw-r--r--source3/smbd/proto.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index 4d5428c33ca..3a7ec585435 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -2161,7 +2161,7 @@ static char *strip_gmt_from_raw_dfs(TALLOC_CTX *ctx,
NTSTATUS filename_convert_smb1_search_path(TALLOC_CTX *ctx,
connection_struct *conn,
- const char *name_in,
+ char *name_in,
uint32_t ucf_flags,
struct smb_filename **_smb_fname_out,
char **_mask_out)
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 21eb32a9388..5aa690062f7 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -383,7 +383,7 @@ NTSTATUS filename_convert(TALLOC_CTX *mem_ctx,
struct smb_filename **pp_smb_fname);
NTSTATUS filename_convert_smb1_search_path(TALLOC_CTX *ctx,
connection_struct *conn,
- const char *name_in,
+ char *name_in,
uint32_t ucf_flags,
struct smb_filename **_smb_fname_out,
char **_mask_out);