From: Remi Gacogne Date: Fri, 10 Jan 2025 10:53:38 +0000 (+0100) Subject: dnsdist: Fix indentation X-Git-Tag: dnsdist-2.0.0-alpha1~172^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=785040847b04341e9bb22740de5fd9c40fd2422d;p=thirdparty%2Fpdns.git dnsdist: Fix indentation --- diff --git a/pdns/dnsdistdist/doh3.cc b/pdns/dnsdistdist/doh3.cc index ec3dad0143..e8fc84b496 100644 --- a/pdns/dnsdistdist/doh3.cc +++ b/pdns/dnsdistdist/doh3.cc @@ -288,13 +288,13 @@ static bool tryWriteResponse(H3Connection& conn, const uint64_t streamID, Packet static void addHeaderToList(std::vector& headers, const char* name, size_t nameLen, const char* value, size_t valueLen) { headers.emplace_back((quiche_h3_header){ - // NOLINTNEXTLINE(cppcoreguidelines-pro-type-reinterpret-cast): Quiche API - .name = reinterpret_cast(name), - .name_len = nameLen, - // NOLINTNEXTLINE(cppcoreguidelines-pro-type-reinterpret-cast): Quiche API - .value = reinterpret_cast(value), - .value_len = valueLen, - }); + // NOLINTNEXTLINE(cppcoreguidelines-pro-type-reinterpret-cast): Quiche API + .name = reinterpret_cast(name), + .name_len = nameLen, + // NOLINTNEXTLINE(cppcoreguidelines-pro-type-reinterpret-cast): Quiche API + .value = reinterpret_cast(value), + .value_len = valueLen, + }); } static void h3_send_response(H3Connection& conn, const uint64_t streamID, uint16_t statusCode, const uint8_t* body, size_t len, const std::string& contentType = {})