summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_string.c
diff options
context:
space:
mode:
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;
}
}