From 785040847b04341e9bb22740de5fd9c40fd2422d Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Fri, 10 Jan 2025 11:53:38 +0100 Subject: [PATCH] dnsdist: Fix indentation --- pdns/dnsdistdist/doh3.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 = {}) -- 2.47.2