]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Whitespace cleanup dnsdist-console.cc 12514/head
authorFred Morcos <fred.morcos@open-xchange.com>
Wed, 11 Jan 2023 14:52:56 +0000 (15:52 +0100)
committerFred Morcos <fred.morcos@open-xchange.com>
Mon, 6 Feb 2023 16:01:02 +0000 (17:01 +0100)
pdns/dnsdist-console.cc

index 02316b0564b3741accdf0cf630670792e0a7d1e3..19ab40afd55172d352d822558a9477966e1ee15d 100644 (file)
@@ -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<DownstreamState>,
               ClientState*,
               std::unordered_map<string, double>
@@ -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<DownstreamState>,
                 ClientState*,
                 std::unordered_map<string, double>