From 3da4d72323f3c0a598d3552c31fc3299324114ef Mon Sep 17 00:00:00 2001 From: Koichiro IWAO Date: Tue, 13 Feb 2018 13:34:57 +0900 Subject: 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. --- common/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/file.c') 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; } -- cgit v1.2.1