From 2dac5bfcc30dfec43341127cad02c6a332cf305e Mon Sep 17 00:00:00 2001 From: Hakase Date: Thu, 9 Aug 2018 18:59:15 +0900 Subject: [PATCH] Latest update - 7334 --- src/core/ngx_conf_file.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c index ba454de..e92cd33 100644 --- a/src/core/ngx_conf_file.c +++ b/src/core/ngx_conf_file.c @@ -656,13 +656,14 @@ ngx_conf_read_token(ngx_conf_t *cf) } if (last_space) { - if (ch == ' ' || ch == '\t' || ch == CR || ch == LF) { - continue; - } start = b->pos - 1; start_line = cf->conf_file->line; + if (ch == ' ' || ch == '\t' || ch == CR || ch == LF) { + continue; + } + switch (ch) { case ';':