From 0665896a5593fb41c92cbf164182a058ee40518c Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Wed, 4 Apr 2018 18:13:05 +0300 Subject: Style: capitalized letters in hexadecimal literals. --- src/nxt_http_chunk_parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nxt_http_chunk_parse.c') 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; -- cgit