summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_chunk_parse.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_http_chunk_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_http_chunk_parse.c b/src/nxt_http_chunk_parse.c
index 1c9cd190..83bb4965 100644
--- a/src/nxt_http_chunk_parse.c
+++ b/src/nxt_http_chunk_parse.c
@@ -89,7 +89,7 @@ nxt_http_chunk_parse(nxt_task_t *task, nxt_http_chunk_parse_t *hcp,
c = (ch | 0x20) - 'a';
if (c <= 5) {
- hcp->chunk_size = 0x0a + c;
+ hcp->chunk_size = 0x0A + c;
continue;
}
@@ -103,7 +103,7 @@ nxt_http_chunk_parse(nxt_task_t *task, nxt_http_chunk_parse_t *hcp,
c = (ch | 0x20) - 'a';
if (nxt_fast_path(c <= 5)) {
- c += 0x0a;
+ c += 0x0A;
} else if (nxt_fast_path(ch == NXT_CR)) {
state = sw_chunk_size_linefeed;