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.
This commit is contained in:
Koichiro IWAO 2018-02-13 13:34:57 +09:00
parent fd37805ac0
commit 3da4d72323
No known key found for this signature in database
GPG Key ID: 9F72CDBC01BF10EB

View File

@ -138,7 +138,7 @@ file_read_ini_line(struct stream *s, char *text, int text_bytes)
while (c != 10 && c != 13) while (c != 10 && c != 13)
{ {
/* these mean skip the rest of the line */ /* these mean skip the rest of the line */
if (c == '#' || c == '!' || c == ';') if (c == '#' || c == ';')
{ {
skip_to_end = 1; skip_to_end = 1;
} }