diff options
author | Koichiro IWAO <meta@vmeta.jp> | 2017-06-22 14:41:33 +0900 |
---|---|---|
committer | metalefty <meta@vmeta.jp> | 2017-08-01 08:40:30 +0900 |
commit | eae5cdf1fd9e18b4170071530a057edf0ae70329 (patch) | |
tree | 867575f4db094f7f30bb44eace4ec51d48161a25 /common | |
parent | d57e02626d46e4aa20aae8c01d57468720917975 (diff) | |
download | xrdp-proprietary-eae5cdf1fd9e18b4170071530a057edf0ae70329.tar.gz xrdp-proprietary-eae5cdf1fd9e18b4170071530a057edf0ae70329.zip |
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
Diffstat (limited to 'common')
-rw-r--r-- | common/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/file.c b/common/file.c index 16b8deee..811e71fa 100644 --- a/common/file.c +++ b/common/file.c @@ -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; } |