From 49e244c1ae9d42a81066f64db505eb0a84af8e3f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 9 Jan 1999 00:16:57 +0000 Subject: jeremy had already added code to handle null paths :) --- source/smbwrapper/smbw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/smbwrapper/smbw.c b/source/smbwrapper/smbw.c index f8ac6f1d0f2..b8071b45a0b 100644 --- a/source/smbwrapper/smbw.c +++ b/source/smbwrapper/smbw.c @@ -346,7 +346,7 @@ int smbw_path(const char *path) /* this is needed to prevent recursion with the BSD malloc which opens /etc/malloc.conf on the first call */ - if (!path || strncmp(path,"/etc/", 5) == 0) { + if (strncmp(path,"/etc/", 5) == 0) { return 0; } -- cgit