From 074239ac2eec666abb892b5eef46ca70691ed41f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 4 Apr 2011 10:15:16 -0700 Subject: Note that check_parent_exists() doesn't change the contents of smb_fname (add const). --- source3/smbd/filename.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/filename.c') 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) { -- cgit