diff options
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index e57d5ea056..04f356157a 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -8045,7 +8045,12 @@ bool lp_set_option(const char *option) *p = 0; - ret = lp_set_cmdline(s, p+1); + /* skip white spaces after the = sign */ + do { + p++; + } while (*p == ' '); + + ret = lp_set_cmdline(s, p); talloc_free(s); return ret; } |