git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f16c797
)
Fix typo in check_path_syntax.
author
Jeremy Allison
<jra@samba.org>
Sat, 3 Apr 2004 00:04:31 +0000
(
00:04
+0000)
committer
Jeremy Allison
<jra@samba.org>
Sat, 3 Apr 2004 00:04:31 +0000
(
00:04
+0000)
Jeremy.
(This used to be commit
018db85de4f380da9f8318ab72371185bb2ac5b4
)
source3/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source3/smbd/reply.c
b/source3/smbd/reply.c
index 130601cd9c684c5e57e341449c67dbc1fd56ba08..7498821185ac701536903b3f01124a3cea458096 100644
(file)
--- a/
source3/smbd/reply.c
+++ b/
source3/smbd/reply.c
@@
-100,7
+100,7
@@
NTSTATUS check_path_syntax(pstring destname, const pstring srcname)
d--;
}
s += 3;
- } else if ((s[0] == '.') && (IS_DIRECTORY_SEP(s[1]) ||
s[2] == '\0'
)) {
+ } else if ((s[0] == '.') && (IS_DIRECTORY_SEP(s[1]) ||
(s[1] == '\0')
)) {
/*
* No mb char starts with '.' so we're safe checking the directory separator here.