git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a217ec6
)
Note that check_parent_exists() doesn't change the contents of smb_fname (add const).
author
Jeremy Allison
<jra@samba.org>
Mon, 4 Apr 2011 17:15:16 +0000
(10:15 -0700)
committer
Jeremy Allison
<jra@samba.org>
Mon, 4 Apr 2011 17:15:16 +0000
(10:15 -0700)
source3/smbd/filename.c
patch
|
blob
|
history
diff --git
a/source3/smbd/filename.c
b/source3/smbd/filename.c
index 912e3a41f3c1bbcd5e914fe1862a5b066b3977ed..3bab2c8971dcc2789133b46a380122bb447e219f 100644
(file)
--- 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)
{