From: Remi Gacogne Date: Fri, 7 Nov 2025 16:50:32 +0000 (+0100) Subject: rec: Fix a few typos in comments X-Git-Tag: rec-5.4.0-beta1~33^2~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0572297b105adff90f9e04009659e115764df17b;p=thirdparty%2Fpdns.git rec: Fix a few typos in comments Signed-off-by: Remi Gacogne --- diff --git a/pdns/recursordist/rec-main.cc b/pdns/recursordist/rec-main.cc index 05f04e31e5..3b4851c2d7 100644 --- a/pdns/recursordist/rec-main.cc +++ b/pdns/recursordist/rec-main.cc @@ -1049,10 +1049,10 @@ static void loggerSDBackend(const Logging::Entry& entry) Logger::Urgency urgency = entry.d_priority != 0 ? Logger::Urgency(entry.d_priority) : Logger::Info; if (urgency > s_logUrgency) { // We do not log anything if the Urgency of the message is lower than the requested loglevel. - // Not that lower Urgency means higher number. + // Note that lower Urgency means higher number. return; } - // We need to keep the string in mem until sd_journal_sendv has ben called + // We need to keep the string in mem until sd_journal_sendv has been called vector strings; auto appendKeyAndVal = [&strings](const string& key, const string& value) { strings.emplace_back(key + "=" + value); @@ -1098,7 +1098,7 @@ static void loggerJSONBackend(const Logging::Entry& entry) Logger::Urgency urg = entry.d_priority != 0 ? Logger::Urgency(entry.d_priority) : Logger::Info; if (urg > s_logUrgency) { // We do not log anything if the Urgency of the message is lower than the requested loglevel. - // Not that lower Urgency means higher number. + // Note that lower Urgency means higher number. return; }