From 769646efc6d334976e75cf6476acfe1089e986dd Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 19 Jun 2008 17:21:04 +0200 Subject: 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) --- source3/param/loadparm.c | 4 ++-- 1 file 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 */ -- cgit