summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-04-03 00:04:31 +0000
committerJeremy Allison <jra@samba.org>2004-04-03 00:04:31 +0000
commitdb44caf191157b5a223b6bb5f6636d6e530a69c9 (patch)
tree51ad2f2bf05166636ff9e2f9c279ea545c747454
parentf16c79732e263020af94aeed0fd03835921ea29a (diff)
downloadsamba-db44caf191157b5a223b6bb5f6636d6e530a69c9.tar.gz
samba-db44caf191157b5a223b6bb5f6636d6e530a69c9.tar.bz2
samba-db44caf191157b5a223b6bb5f6636d6e530a69c9.zip
Fix typo in check_path_syntax.
Jeremy. (This used to be commit 018db85de4f380da9f8318ab72371185bb2ac5b4)
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 130601cd9c..7498821185 100644
--- 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.