summaryrefslogtreecommitdiffstats
path: root/source3/smbd/vfs.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-12-06 12:10:37 +0000
committerStefan Metzmacher <metze@samba.org>2013-12-14 10:11:57 +0100
commit7a06b1661c1423780f05bc35ea435003712ca4b5 (patch)
treeacc1a8a9a4c90e80154a6ad3aedaa68ba96f4cf3 /source3/smbd/vfs.c
parent706c4deca142ce1363da54ab4806337726e6a50c (diff)
downloadsamba-7a06b1661c1423780f05bc35ea435003712ca4b5.tar.gz
samba-7a06b1661c1423780f05bc35ea435003712ca4b5.tar.xz
samba-7a06b1661c1423780f05bc35ea435003712ca4b5.zip
smbd: Avoid pointless strcsequal calls
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/smbd/vfs.c')
-rw-r--r--source3/smbd/vfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index a8e181ab420..44690c2ba22 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -828,7 +828,7 @@ int vfs_ChDir(connection_struct *conn, const char *path)
LastDir = SMB_STRDUP("");
}
- if (strcsequal(path,".")) {
+ if (ISDOT(path)) {
return 0;
}