Removed '\r' and '\n' artifact macros.

This commit is contained in:
Igor Sysoev
2018-06-25 16:56:45 +03:00
parent 1a52d876f7
commit 606eda045b
9 changed files with 17 additions and 30 deletions

View File

@@ -227,7 +227,7 @@ nxt_http_parse_request_line(nxt_http_request_parse_t *rp, u_char **pos,
continue;
}
if (rp->method.start == p && (ch == NXT_CR || ch == NXT_LF)) {
if (rp->method.start == p && (ch == '\r' || ch == '\n')) {
rp->method.start++;
p++;
continue;