summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
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';