Skip to content

Commit d1b0d70

Browse files
committed
comment typo
1 parent e4ac8c8 commit d1b0d70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/h1_encoder.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ static int s_state_fn_chunked_body_stream(struct aws_h1_encoder *encoder, struct
765765
*
766766
* Use a predictable length for the prefix.
767767
* 8 hex chars (i.e. "000000F7") seems reasonable (4 is too small, 16 is ridiculous, dynamic is complicated). */
768-
enum { padded_hex_len = 8 }; /* enum so we can use a length of stack-array */
768+
enum { padded_hex_len = 8 }; /* enum, because it's used as size for stack array */
769769
const char *padded_hex_fmt = "%08zX";
770770
const size_t max_hex_value_given_padding = UINT32_MAX; /* fits in 8 chars */
771771
const size_t chunk_prefix_len = padded_hex_len + CRLF_SIZE;

0 commit comments

Comments
 (0)