]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix code formatting
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 25 Sep 2023 13:40:18 +0000 (15:40 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 9 Oct 2023 11:38:01 +0000 (13:38 +0200)
pdns/dnsdistdist/doq.cc

index cdb12919c0259cb83477273cac87bc77369e3cda..8e6c3d60ef3d02888dfb19489343532d5b301421 100644 (file)
@@ -263,7 +263,8 @@ private:
 std::shared_ptr<DOQTCPCrossQuerySender> DOQCrossProtocolQuery::s_sender = std::make_shared<DOQTCPCrossQuerySender>();
 
 /* from rfc9250 section-4.3 */
-enum class DOQ_Error_Codes : uint64_t {
+enum class DOQ_Error_Codes : uint64_t
+{
   DOQ_NO_ERROR = 0,
   DOQ_INTERNAL_ERROR = 1,
   DOQ_PROTOCOL_ERROR = 2,
@@ -289,8 +290,7 @@ static void handleResponse(DOQFrontend& df, Connection& conn, const uint64_t str
       return;
     }
     pos += res;
-  }
-  while (pos < sizeBytes.size());
+  } while (pos < sizeBytes.size());
 
   pos = 0;
   do {
@@ -300,8 +300,7 @@ static void handleResponse(DOQFrontend& df, Connection& conn, const uint64_t str
       return;
     }
     pos += res;
-  }
-  while (pos < response.size());
+  } while (pos < response.size());
 }
 
 static void fillRandom(PacketBuffer& buffer, size_t size)