From 8bcfd26e118bae38118d8fab828e4e21bf404299 Mon Sep 17 00:00:00 2001 From: Fred Morcos Date: Wed, 11 Jan 2023 15:52:56 +0100 Subject: [PATCH] Whitespace cleanup dnsdist-console.cc --- pdns/dnsdist-console.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 -- 2.47.2