diff options
author | Koichiro IWAO <meta@vmeta.jp> | 2018-02-13 13:34:57 +0900 |
---|---|---|
committer | Koichiro IWAO <meta@vmeta.jp> | 2018-02-20 13:13:34 +0900 |
commit | 3da4d72323f3c0a598d3552c31fc3299324114ef (patch) | |
tree | d68f9905117eb41905cfcc80fd10b34c5a3cf9cd /common/file.c | |
parent | fd37805ac073170b88557aeec138e694a781d661 (diff) | |
download | xrdp-proprietary-3da4d72323f3c0a598d3552c31fc3299324114ef.tar.gz xrdp-proprietary-3da4d72323f3c0a598d3552c31fc3299324114ef.zip |
common: quit using `!` as comment out symbol in config files
It is not used anywhere in default config. Some config like
`tls_ciphers` might contain `!` like this:
tls_ciphers=FIPS:!aNULL:!eNULL
Fixes #1033.
Diffstat (limited to 'common/file.c')
-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 811e71fa..b796f5b0 100644 --- a/common/file.c +++ b/common/file.c @@ -138,7 +138,7 @@ file_read_ini_line(struct stream *s, char *text, int text_bytes) while (c != 10 && c != 13) { /* these mean skip the rest of the line */ - if (c == '#' || c == '!' || c == ';') + if (c == '#' || c == ';') { skip_to_end = 1; } |