summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_string.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2018-06-25 16:56:45 +0300
committerIgor Sysoev <igor@sysoev.ru>2018-06-25 16:56:45 +0300
commit606eda045bc3608977648fb1de61d8e328984d30 (patch)
treecb24949d225133bd34f243e2445d7ba9cadfcbdf /src/nxt_string.c
parent1a52d876f7e10d07f58deee6faeaf70a11a6110f (diff)
downloadunit-606eda045bc3608977648fb1de61d8e328984d30.tar.gz
unit-606eda045bc3608977648fb1de61d8e328984d30.tar.bz2
Removed '\r' and '\n' artifact macros.
Diffstat (limited to 'src/nxt_string.c')
-rw-r--r--src/nxt_string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_string.c b/src/nxt_string.c
index 8225cd9b..1858b58b 100644
--- a/src/nxt_string.c
+++ b/src/nxt_string.c
@@ -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;
}
}