From: Fred Morcos Date: Wed, 11 Jan 2023 14:52:56 +0000 (+0100) Subject: Whitespace cleanup dnsdist-console.cc X-Git-Tag: dnsdist-1.8.0-rc1~50^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bcfd26e118bae38118d8fab828e4e21bf404299;p=thirdparty%2Fpdns.git Whitespace cleanup dnsdist-console.cc --- diff --git a/pdns/dnsdist-console.cc b/pdns/dnsdist-console.cc index 02316b0564..19ab40afd5 100644 --- a/pdns/dnsdist-console.cc +++ b/pdns/dnsdist-console.cc @@ -255,7 +255,7 @@ void doClient(ComboAddress server, const std::string& command) if (!command.empty()) { sendMessageToServer(fd.getHandle(), command, readingNonce, writingNonce, false); - return; + return; } #ifdef HAVE_LIBEDIT @@ -284,7 +284,7 @@ void doClient(ComboAddress server, const std::string& command) } lastline = line; free(sline); - + if (line == "quit") { break; } @@ -382,7 +382,7 @@ void doConsole() auto ret = lua->executeCode< boost::optional< boost::variant< - string, + string, shared_ptr, ClientState*, std::unordered_map @@ -454,7 +454,7 @@ void doConsole() } } catch (const std::exception& e) { - std::cerr << e.what() << std::endl; + std::cerr << e.what() << std::endl; } } } @@ -881,13 +881,13 @@ static void controlClientThread(ConsoleConnection&& conn) retry:; try { auto lua = g_lua.lock(); - + g_outputBuffer.clear(); resetLuaSideEffect(); auto ret = lua->executeCode< boost::optional< boost::variant< - string, + string, shared_ptr, ClientState*, std::unordered_map