]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix typoe and ws 13311/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 29 Sep 2023 09:41:06 +0000 (11:41 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 29 Sep 2023 09:41:06 +0000 (11:41 +0200)
pdns/recursordist/lua-recursor4.cc
pdns/recursordist/rec-taskqueue.cc

index 6ba031e9e14a76f466744d39d1c73d27d53c8905..a22f54d6bf391f199135fc8d9d861c092e531010 100644 (file)
@@ -504,7 +504,7 @@ static void warnDrop(const RecursorLua4::DNSQuestion& dq)
 {
   if (dq.rcode == -2) {
     SLOG(g_log << Logger::Error << "Returning -2 (pdns.DROP) is not supported anymore, see https://docs.powerdns.com/recursor/lua-scripting/hooks.html#hooksemantics" << endl,
-         g_slog->withName("lua")->info(Logr::Error,"Returning -2 (pdns.DROP) is not supported anymore, see https://docs.powerdns.com/recursor/lua-scripting/hooks.html#hooksemantics"));
+         g_slog->withName("lua")->info(Logr::Error, "Returning -2 (pdns.DROP) is not supported anymore, see https://docs.powerdns.com/recursor/lua-scripting/hooks.html#hooksemantics"));
     // We *could* set policy here, but that would also mean interfering with rcode and the return code of the hook.
     // So leave it at the error message.
   }
index b5dba064dfa4c8ecd3b509cddf0d981cd2a494be..a520e827c73585ae0a1606c768fa2f6cd7778170 100644 (file)
@@ -150,7 +150,7 @@ static void resolveInternal(const struct timeval& now, bool logErrors, const pdn
     }
   }
   catch (...) {
-    log->error(Logr::Warning, msg, "Unexpectec exception");
+    log->error(Logr::Warning, msg, "Unexpected exception");
   }
   if (exceptionOccurred) {
     if (task.d_refreshMode) {