diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-03-28 05:24:21 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-03-28 05:24:21 +0000 |
commit | 93c91a2e9d325a4b2d092e144e63f743e6e049bc (patch) | |
tree | aeb9fcd7fec101994a1fbadd491a1116fb2ce67d | |
parent | ff43a292b9f8e0a39d19cb099913efd899de84fa (diff) | |
download | samba-93c91a2e9d325a4b2d092e144e63f743e6e049bc.tar.gz |
Allow the new modules system to function with builtin vfs modules.
If we don't have a vfs path set, just pass the original file name.
In future, we need to seperate the default path as a seperate paramater.
Andrew Bartlett
-rw-r--r-- | source/smbd/vfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/vfs.c b/source/smbd/vfs.c index a8b350b9cd2..3dc55cf5365 100644 --- a/source/smbd/vfs.c +++ b/source/smbd/vfs.c @@ -334,7 +334,7 @@ BOOL smbd_vfs_init(connection_struct *conn) handle->handle = NULL; DLIST_ADD(conn->vfs_private, handle); vfs_module = NULL; - if (vfs_path) { + if (vfs_path && *vfs_path) { asprintf(&vfs_module, "%s/%s", vfs_path, vfs_objects[j]); } else { asprintf(&vfs_module, "%s", vfs_objects[j]); |