diff --git a/src/config/opttypes.c b/src/config/opttypes.c index 5b0e25792..5ce9d0022 100644 --- a/src/config/opttypes.c +++ b/src/config/opttypes.c @@ -248,9 +248,9 @@ str_rd(struct option *opt, unsigned char **file, int *line) * thus we will never test for it in while () condition * and we will treat it just as '"', ignoring the * backslash itself. */ - if (isquote(str[1])) str++; + else if (isquote(str[1])) str++; /* \\ means \. */ - if (str[1] == '\\') str++; + else if (str[1] == '\\') str++; } if (*str == '\n') (*line)++;