diff options
-rw-r--r-- | config.c | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -22,13 +22,11 @@ eat_whitespace_and_comments(char **pos) while (isspace(**pos)) (*pos)++; - if (**pos == '#') { - while (**pos != '\r' && **pos != '\n' && **pos != '\0') - (*pos)++; - continue; - } - - return; + if (**pos != '#') { + return; + + while (**pos != '\r' && **pos != '\n' && **pos != '\0') + (*pos)++; } } |