diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/param/loadparm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index e7caf66004..f60e4ebd1a 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -1527,6 +1527,10 @@ static bool handle_debuglevel(struct loadparm_context *lp_ctx, { DEBUGLEVEL = atoi(pszParmValue); + /* also set in the loadparm table, so querying debug level + works */ + *(int *)ptr = DEBUGLEVEL; + return true; } @@ -1537,6 +1541,7 @@ static bool handle_logfile(struct loadparm_context *lp_ctx, free(discard_const_p(char, logfile)); } logfile = strdup(pszParmValue); + string_set(lp_ctx, ptr, pszParmValue); return true; } |