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

@@ -308,7 +308,7 @@ nxt_str_strip(u_char *start, u_char *end)
u_char *p;
for (p = end - 1; p >= start; p--) {
if (*p != NXT_CR && *p != NXT_LF) {
if (*p != '\r' && *p != '\n') {
break;
}
}