diff options
author | Jeremy Allison <jra@samba.org> | 2011-04-04 10:15:16 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-04-04 10:15:16 -0700 |
commit | 074239ac2eec666abb892b5eef46ca70691ed41f (patch) | |
tree | 1994cb816e5d7b0e85f782d497582ec36f727836 | |
parent | a217ec64ec5b189f697c58456dad6a6151f763ab (diff) | |
download | samba-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).
-rw-r--r-- | source3/smbd/filename.c | 2 |
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) { |