summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-06-19 17:21:04 +0200
committerMichael Adam <obnox@samba.org>2008-06-19 17:22:27 +0200
commit769646efc6d334976e75cf6476acfe1089e986dd (patch)
treec1b3d5693d2188b1b2084216ea7071da751fb1db
parent09d769057effce3a229517a08ad73be4f1fc4bd9 (diff)
downloadsamba-769646efc6d334976e75cf6476acfe1089e986dd.tar.gz
samba-769646efc6d334976e75cf6476acfe1089e986dd.tar.bz2
samba-769646efc6d334976e75cf6476acfe1089e986dd.zip
loadparm: use the return value of the special handlers in lp_load().
Up to now, the bool return value was silently ignored. Michael (This used to be commit c65d425fec964bc0b8778b596615a8bcce0378aa)
-rw-r--r--source3/param/loadparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index ad0605d70b..8f6af68325 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -7208,8 +7208,8 @@ bool lp_do_parameter(int snum, const char *pszParmName, const char *pszParmValue
/* if it is a special case then go ahead */
if (parm_table[parmnum].special) {
- parm_table[parmnum].special(snum, pszParmValue, (char **)parm_ptr);
- return (True);
+ return parm_table[parmnum].special(snum, pszParmValue,
+ (char **)parm_ptr);
}
/* now switch on the type of variable it is */