diff options
author | Igor Sysoev <igor@sysoev.ru> | 2018-06-25 16:56:45 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2018-06-25 16:56:45 +0300 |
commit | 606eda045bc3608977648fb1de61d8e328984d30 (patch) | |
tree | cb24949d225133bd34f243e2445d7ba9cadfcbdf /src/nxt_http_parse.c | |
parent | 1a52d876f7e10d07f58deee6faeaf70a11a6110f (diff) | |
download | unit-606eda045bc3608977648fb1de61d8e328984d30.tar.gz unit-606eda045bc3608977648fb1de61d8e328984d30.tar.bz2 |
Removed '\r' and '\n' artifact macros.
Diffstat (limited to 'src/nxt_http_parse.c')
-rw-r--r-- | src/nxt_http_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_http_parse.c b/src/nxt_http_parse.c index 7aa5f53f..b9325c57 100644 --- a/src/nxt_http_parse.c +++ b/src/nxt_http_parse.c @@ -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; |