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

@@ -424,7 +424,7 @@ nxt_fastcgi_source_record_filter(nxt_task_t *task, void *obj, void *data)
for (b = fsr->parse.out[1]; b != NULL; b = b->next) {
for (p = b->mem.free - 1; p >= b->mem.pos; p--) {
if (*p != NXT_CR && *p != NXT_LF) {
if (*p != '\r' && *p != '\n') {
break;
}
}