1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

When parsing 'param = value', don't split 'value' at spaces.

Thanks to Ralf Spenneberg for the fix.

Volker
This commit is contained in:
Volker Lendecke -
parent 6d46e66ac2
commit bc383582b2

View File

@ -66,7 +66,7 @@ while (<CONFIGFILE>) {
## check for a param = value
if ($_ =~ /=/) {
($param, $value) = split (/=/, $_);
($param, $value) = split (/=/, $_,2);
$param =~ s/./\l$&/g;
$param =~ s/\s+//g;
$value =~ s/^\s+//;