From 9e9849c0ee5cfc79dc51e29c8015d9c53fa4bfcc Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 16 May 2003 06:20:57 +0000 Subject: add metze's patch for smb_register functions (This used to be commit 1480c7e8c7a84c34181118c449c50ca99fdcbc6b) --- source3/smbd/vfs.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source3/smbd') 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; } -- cgit