summaryrefslogtreecommitdiff
path: root/source3/smbd/vfs.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2003-05-16 06:20:57 +0000
committerSimo Sorce <idra@samba.org>2003-05-16 06:20:57 +0000
commit9e9849c0ee5cfc79dc51e29c8015d9c53fa4bfcc (patch)
treee52ffd64774741ffb4a35177988a9a4fcdf4d8fe /source3/smbd/vfs.c
parentdb0a223156ed17510fa4efae652912fee5a4c0cd (diff)
downloadsamba-9e9849c0ee5cfc79dc51e29c8015d9c53fa4bfcc.tar.gz
samba-9e9849c0ee5cfc79dc51e29c8015d9c53fa4bfcc.tar.bz2
samba-9e9849c0ee5cfc79dc51e29c8015d9c53fa4bfcc.zip
add metze's patch for smb_register functions
(This used to be commit 1480c7e8c7a84c34181118c449c50ca99fdcbc6b)
Diffstat (limited to 'source3/smbd/vfs.c')
-rw-r--r--source3/smbd/vfs.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index 62f03f0cd6..d24ae54d42 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -135,12 +135,9 @@ static struct vfs_ops default_vfs = {
static struct vfs_init_function_entry *vfs_find_backend_entry(const char *name)
{
struct vfs_init_function_entry *entry = backends;
- pstring stripped;
-
- module_path_get_name(name, stripped);
while(entry) {
- if (strequal(entry->name, stripped)) return entry;
+ if (strcmp(entry->name, name)==0) return entry;
entry = entry->next;
}