]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix formatting in channel.{cc,hh}
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 18 Mar 2022 09:22:10 +0000 (10:22 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 13 Jun 2023 07:59:34 +0000 (09:59 +0200)
pdns/dnsdistdist/channel.cc
pdns/dnsdistdist/channel.hh

index dfa33697658fdd9dd0476003fbb3ca530b186598..75cca8a706426dcc24b77a61e19434ad134ffd45 100644 (file)
@@ -77,7 +77,7 @@ namespace channel
 
   std::pair<Notifier, Waiter> createNotificationQueue(bool nonBlocking, size_t pipeBufferSize)
   {
-    int fds[2] = { -1, -1};
+    int fds[2] = {-1, -1};
     if (pipe(fds) < 0) {
       throw std::runtime_error("Error creating notification channel pipe: " + stringerror());
     }
index 247264c5d497abf195f6002a7c7912e0d7d666a9..55ee5f956d7e957295d3a22c775d0b7b85ad5010 100644 (file)
@@ -229,7 +229,7 @@ namespace channel
   template <typename T>
   std::pair<Sender<T>, Receiver<T>> createObjectQueue(bool nonBlocking, size_t pipeBufferSize)
   {
-    int fds[2] = { -1, -1};
+    int fds[2] = {-1, -1};
     if (pipe(fds) < 0) {
       throw std::runtime_error("Error creating channel pipe: " + stringerror());
     }