Style: capitalized letters in hexadecimal literals.

This commit is contained in:
Valentin Bartenev
2018-04-04 18:13:05 +03:00
parent 43ba7aad6c
commit 0665896a55
24 changed files with 633 additions and 633 deletions

View File

@@ -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;