summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-04-22 04:54:21 +0000
committerGerald Carter <jerry@samba.org>2003-04-22 04:54:21 +0000
commit86ece43f7a0cc927e4b354959f9204d9779d5f50 (patch)
treef83c41ba01336696d7c540ea7844a630e6bf9551 /source3
parent9d16dac3d14b11f327f2898e3fe45f1b390bead4 (diff)
downloadsamba-86ece43f7a0cc927e4b354959f9204d9779d5f50.tar.gz
samba-86ece43f7a0cc927e4b354959f9204d9779d5f50.tar.bz2
samba-86ece43f7a0cc927e4b354959f9204d9779d5f50.zip
another lost merge from 3.0; my fault
(This used to be commit 2e5e68617345beca4d1cab27d64944ebd42e899b)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/vfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index 06aca51322..75bcb09917 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -322,8 +322,8 @@ BOOL smbd_vfs_init(connection_struct *conn)
vfs_init_default(conn);
vfs_objects = lp_vfsobj(SNUM(conn));
- /* Override VFS functions if 'vfs object' was specified*/
- if (!vfs_objects)
+ /* Override VFS functions if 'vfs object' was not specified*/
+ if (!vfs_objects || !vfs_objects[0])
return True;
for(i=0; i<SMB_VFS_OP_LAST; i++) {