summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-07-23 20:04:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:10:19 -0500
commit830b03d7e88f83e0a395d5944f0b0001480ea4fa (patch)
treeb9c2e27b4092ae4771cb2078721684bca0901c3e /source4/param
parentc504a8269c03aa28d98378cd62a8c64ab5a12a62 (diff)
downloadsamba-830b03d7e88f83e0a395d5944f0b0001480ea4fa.tar.gz
samba-830b03d7e88f83e0a395d5944f0b0001480ea4fa.tar.bz2
samba-830b03d7e88f83e0a395d5944f0b0001480ea4fa.zip
r17210: I wonder how I missed this, build farm caught it.
(This used to be commit e0af5cf51dbedccfe47cfd6ec5232847f586ece8)
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/share_classic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/param/share_classic.c b/source4/param/share_classic.c
index 9d959da787..59c58e4d54 100644
--- a/source4/param/share_classic.c
+++ b/source4/param/share_classic.c
@@ -139,7 +139,7 @@ BOOL sclassic_bool_option(struct share_config *scfg, const char *opt_name, BOOL
if (strchr(opt_name, ':')) {
parm = talloc_strdup(scfg, opt_name);
if(!parm) {
- return NULL;
+ return False;
}
val = strchr(parm, ':');
*val = '\0';