summaryrefslogtreecommitdiff
path: root/source3/smbd/vfs.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-05-06 13:26:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:48 -0500
commitbd688a9138a9ee8593a2eada158c2bcde2b59f4e (patch)
tree61e2494f5710d0cfd62318482552c0d626bbbad8 /source3/smbd/vfs.c
parent5622d96cd674bd63ec86db971531f2088e32842f (diff)
downloadsamba-bd688a9138a9ee8593a2eada158c2bcde2b59f4e.tar.gz
samba-bd688a9138a9ee8593a2eada158c2bcde2b59f4e.tar.bz2
samba-bd688a9138a9ee8593a2eada158c2bcde2b59f4e.zip
r6633: Added "check_path_syntax_posix()" in preparation for handling
POSIX pathnames. Not yet used. Jeremy. (This used to be commit 381da9b55d6a3fda2ba4a3f12bee50853b7fd3b3)
Diffstat (limited to 'source3/smbd/vfs.c')
-rw-r--r--source3/smbd/vfs.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index dee29f4796..ade28f9bee 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -227,13 +227,15 @@ BOOL vfs_init_custom(connection_struct *conn, const char *vfs_object)
return False;
}
- if(!backends) static_init_vfs;
+ if(!backends) {
+ static_init_vfs;
+ }
DEBUG(3, ("Initialising custom vfs hooks from [%s]\n", vfs_object));
module_name = smb_xstrdup(vfs_object);
- p = strchr(module_name, ':');
+ p = strchr_m(module_name, ':');
if (p) {
*p = 0;