]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Formatting and tidy
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Thu, 4 Sep 2025 09:10:43 +0000 (11:10 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Thu, 4 Sep 2025 09:10:43 +0000 (11:10 +0200)
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/recursordist/pdns_recursor.cc
pdns/recursordist/rec_channel_rec.cc

index e03f9da7b715ec3be9e5ee61a7b91ac81a93ce98..4ac18ec19bdac6906527d342a35c20969af97ad3 100644 (file)
@@ -284,7 +284,7 @@ unsigned int authWaitTimeMSec(const std::unique_ptr<MT_t>& mtasker)
 
 /* these two functions are used by LWRes */
 LWResult::Result asendto(const void* data, size_t len, int /* flags */,
-                         const ComboAddress& toAddress,  std::optional<ComboAddress>& localAddress, uint16_t qid, const DNSName& domain, uint16_t qtype, const std::optional<EDNSSubnetOpts>& ecs, int* fileDesc, timeval& now)
+                         const ComboAddress& toAddress, std::optional<ComboAddress>& localAddress, uint16_t qid, const DNSName& domain, uint16_t qtype, const std::optional<EDNSSubnetOpts>& ecs, int* fileDesc, timeval& now)
 {
 
   auto pident = std::make_shared<PacketID>();
index 57f6f13a489f7944e02cd5d69a2e9471c0a8324f..ddcfa817beefd7c269d0d77c4ba46de738aa1850 100644 (file)
@@ -2066,7 +2066,7 @@ static std::string reloadZoneConfigurationWithSysResolveReset()
   return ret;
 }
 
-RecursorControlChannel::Answer RecursorControlParser::getAnswer(int socket, const string& question, RecursorControlParser::func_t** command)
+RecursorControlChannel::Answer RecursorControlParser::getAnswer(int socket, const string& question, RecursorControlParser::func_t** command) // NOLINT(readability-function-cognitive-complexity)
 {
   *command = nop;
   vector<string> words;