From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 19 Nov 2025 17:39:29 +0000 (-0500) Subject: spelling: sanitize X-Git-Tag: rec-5.4.0-alpha1~61^2~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0e1bca9a84bb945f4de4bfd836a668a48590856;p=thirdparty%2Fpdns.git spelling: sanitize Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/pdns/recursordist/recursor_cache.cc b/pdns/recursordist/recursor_cache.cc index b665f0b4bd..4742249ec6 100644 --- a/pdns/recursordist/recursor_cache.cc +++ b/pdns/recursordist/recursor_cache.cc @@ -736,7 +736,7 @@ void MemRecursorCache::replace(time_t now, const DNSName& qname, const QType qty cacheEntry.d_orig_ttl = cacheEntry.d_ttd - ttl_time; // Even though we record the time the ttd was computed, there still seems to be a case where the computed // d_orig_ttl can wrap. - // So santize the computed ce.d_orig_ttl to be on the safe side + // So sanitize the computed ce.d_orig_ttl to be on the safe side if (cacheEntry.d_orig_ttl < SyncRes::s_minimumTTL || cacheEntry.d_orig_ttl > SyncRes::s_maxcachettl) { cacheEntry.d_orig_ttl = SyncRes::s_minimumTTL; }