1
0
mirror of synced 2025-04-19 00:24:02 +03:00

Run clang-format (#2037)

This commit is contained in:
Florian Albrechtskirchinger 2025-02-03 04:32:33 +01:00 committed by GitHub
parent 282f2feb77
commit 9bbb4741b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4458,9 +4458,9 @@ bool read_content(Stream &strm, T &x, size_t payload_max_length, int &status,
ret = read_content_without_length(strm, out);
} else {
auto is_invalid_value = false;
auto len = get_header_value_u64(x.headers, "Content-Length",
(std::numeric_limits<uint64_t>::max)(),
0, is_invalid_value);
auto len = get_header_value_u64(
x.headers, "Content-Length",
(std::numeric_limits<uint64_t>::max)(), 0, is_invalid_value);
if (is_invalid_value) {
ret = false;