mirror of https://github.com/neutrinolabs/xrdp
pass through except for the first '='
if "foo=ba=r" is found in ini files, it should be parsed like this. key : foo value : ba=r
This commit is contained in:
parent
d57e02626d
commit
eae5cdf1fd
|
@ -213,7 +213,7 @@ file_split_name_value(char *text, char *name, char *value)
|
|||
|
||||
for (i = 0; i < len; i++)
|
||||
{
|
||||
if (text[i] == '=')
|
||||
if (text[i] == '=' && !on_to)
|
||||
{
|
||||
on_to = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue