summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-09-19 05:41:51 +0000
committerAndrew Tridgell <tridge@samba.org>2001-09-19 05:41:51 +0000
commitd9c1da5b0cfc1dad173b4fc8b48d74c8007e8111 (patch)
tree8406c3283f0f040812aeeca3dcea8576925b3139 /source3
parent6adafe50d4a9a75a6fe1f666232e0af1ac717513 (diff)
downloadsamba-d9c1da5b0cfc1dad173b4fc8b48d74c8007e8111.tar.gz
samba-d9c1da5b0cfc1dad173b4fc8b48d74c8007e8111.tar.bz2
samba-d9c1da5b0cfc1dad173b4fc8b48d74c8007e8111.zip
*llist being NULL is not an error
(This used to be commit c4d8ad2c2e48ff31dae7477ff02e5bfc013832a9)
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 2856eaf75b..e8831f652a 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -3710,7 +3710,7 @@ BOOL lp_list_substitute(char **list, const char *pattern, const char *insert)
char *p, *s, *t;
ssize_t ls, lp, li, ld, i, d;
- if (!list || !*list) return False;
+ if (!list) return False;
if (!pattern) return False;
if (!insert) return False;