summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_chunk_parse.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2018-04-04 18:13:05 +0300
committerValentin Bartenev <vbart@nginx.com>2018-04-04 18:13:05 +0300
commit0665896a5593fb41c92cbf164182a058ee40518c (patch)
treed657fac84d35aa3f605d25dc8e0a3c165db93b30 /src/nxt_http_chunk_parse.c
parent43ba7aad6cadfab2eb45f09e894dec072c93e6cd (diff)
downloadunit-0665896a5593fb41c92cbf164182a058ee40518c.tar.gz
unit-0665896a5593fb41c92cbf164182a058ee40518c.tar.bz2
Style: capitalized letters in hexadecimal literals.
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;