summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1999-01-09 00:16:57 +0000
committerAndrew Tridgell <tridge@samba.org>1999-01-09 00:16:57 +0000
commit49e244c1ae9d42a81066f64db505eb0a84af8e3f (patch)
treeaf79d13e93c062c0acc4ce96ce3a6303b6149dd9
parent324defdd4add6e96eb0fa0abd6955949bca3fa24 (diff)
downloadsamba-49e244c1ae9d42a81066f64db505eb0a84af8e3f.tar.gz
samba-49e244c1ae9d42a81066f64db505eb0a84af8e3f.tar.xz
samba-49e244c1ae9d42a81066f64db505eb0a84af8e3f.zip
jeremy had already added code to handle null paths :)
-rw-r--r--source/smbwrapper/smbw.c2
1 files changed, 1 insertions, 1 deletions
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;
}