From: Remi Gacogne Date: Fri, 18 Mar 2022 09:22:10 +0000 (+0100) Subject: dnsdist: Fix formatting in channel.{cc,hh} X-Git-Tag: rec-5.0.0-alpha1~161^2~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=73b4f2437022e82d91014fca3dfc5ea9774bb09e;p=thirdparty%2Fpdns.git dnsdist: Fix formatting in channel.{cc,hh} --- diff --git a/pdns/dnsdistdist/channel.cc b/pdns/dnsdistdist/channel.cc index dfa3369765..75cca8a706 100644 --- a/pdns/dnsdistdist/channel.cc +++ b/pdns/dnsdistdist/channel.cc @@ -77,7 +77,7 @@ namespace channel std::pair 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()); } diff --git a/pdns/dnsdistdist/channel.hh b/pdns/dnsdistdist/channel.hh index 247264c5d4..55ee5f956d 100644 --- a/pdns/dnsdistdist/channel.hh +++ b/pdns/dnsdistdist/channel.hh @@ -229,7 +229,7 @@ namespace channel template std::pair, Receiver> 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()); }