git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
706c4de
)
smbd: Avoid pointless strcsequal calls
author
Volker Lendecke
<vl@samba.org>
Fri, 6 Dec 2013 12:10:37 +0000
(12:10 +0000)
committer
Stefan Metzmacher
<metze@samba.org>
Sat, 14 Dec 2013 09:11:57 +0000
(10:11 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/vfs.c
patch
|
blob
|
history
diff --git
a/source3/smbd/vfs.c
b/source3/smbd/vfs.c
index a8e181ab420317de5351963dad048ed28495908c..44690c2ba225d1b69771eab7926a0b0284b3eae7 100644
(file)
--- 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;
}