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_fastcgi_source.c | |
parent | 1a52d876f7e10d07f58deee6faeaf70a11a6110f (diff) | |
download | unit-606eda045bc3608977648fb1de61d8e328984d30.tar.gz unit-606eda045bc3608977648fb1de61d8e328984d30.tar.bz2 |
Removed '\r' and '\n' artifact macros.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_fastcgi_source.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_fastcgi_source.c b/src/nxt_fastcgi_source.c index 068c00a9..b1be3303 100644 --- a/src/nxt_fastcgi_source.c +++ b/src/nxt_fastcgi_source.c @@ -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; } } |