diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/module.c b/source3/lib/module.c index 763a5c2b2d..53223cfebe 100644 --- a/source3/lib/module.c +++ b/source3/lib/module.c @@ -80,7 +80,7 @@ int smb_probe_module(const char *subsystem, const char *module) pstring full_path; /* Check for absolute path */ - if(strchr_m(module, '/'))return smb_load_module(module); + if(module[0] == '/')return smb_load_module(module); pstrcpy(full_path, lib_path(subsystem)); pstrcat(full_path, "/"); |