From 73b4f2437022e82d91014fca3dfc5ea9774bb09e Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Fri, 18 Mar 2022 10:22:10 +0100 Subject: [PATCH] dnsdist: Fix formatting in channel.{cc,hh} --- pdns/dnsdistdist/channel.cc | 2 +- pdns/dnsdistdist/channel.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()); } -- 2.47.2