summaryrefslogtreecommitdiff
path: root/source3/smbd/filename.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-04-04 10:15:16 -0700
committerJeremy Allison <jra@samba.org>2011-04-04 10:15:16 -0700
commit074239ac2eec666abb892b5eef46ca70691ed41f (patch)
tree1994cb816e5d7b0e85f782d497582ec36f727836 /source3/smbd/filename.c
parenta217ec64ec5b189f697c58456dad6a6151f763ab (diff)
downloadsamba-074239ac2eec666abb892b5eef46ca70691ed41f.tar.gz
samba-074239ac2eec666abb892b5eef46ca70691ed41f.tar.bz2
samba-074239ac2eec666abb892b5eef46ca70691ed41f.zip
Note that check_parent_exists() doesn't change the contents of smb_fname (add const).
Diffstat (limited to 'source3/smbd/filename.c')
-rw-r--r--source3/smbd/filename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index 912e3a41f3..3bab2c8971 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -114,7 +114,7 @@ static NTSTATUS check_for_dot_component(const struct smb_filename *smb_fname)
static NTSTATUS check_parent_exists(TALLOC_CTX *ctx,
connection_struct *conn,
bool posix_pathnames,
- struct smb_filename *smb_fname,
+ const struct smb_filename *smb_fname,
char **pp_dirpath,
char **pp_start)
{