From: Otto Moerbeek Date: Fri, 29 Sep 2023 09:41:06 +0000 (+0200) Subject: Fix typoe and ws X-Git-Tag: rec-5.0.0-alpha2~23^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F13311%2Fhead;p=thirdparty%2Fpdns.git Fix typoe and ws --- diff --git a/pdns/recursordist/lua-recursor4.cc b/pdns/recursordist/lua-recursor4.cc index 6ba031e9e1..a22f54d6bf 100644 --- a/pdns/recursordist/lua-recursor4.cc +++ b/pdns/recursordist/lua-recursor4.cc @@ -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. } diff --git a/pdns/recursordist/rec-taskqueue.cc b/pdns/recursordist/rec-taskqueue.cc index b5dba064df..a520e827c7 100644 --- a/pdns/recursordist/rec-taskqueue.cc +++ b/pdns/recursordist/rec-taskqueue.cc @@ -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) {