From: Otto Moerbeek Date: Tue, 31 Oct 2023 07:59:40 +0000 (+0100) Subject: typo in comment X-Git-Tag: rec-5.0.0-beta1~25^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11b90a58a4ef2117a19249294bf669b8b962844e;p=thirdparty%2Fpdns.git typo in comment Co-authored-by: Remi Gacogne --- diff --git a/pdns/recursordist/recursor_cache.cc b/pdns/recursordist/recursor_cache.cc index 9dbdced2b7..b2e8fe1a7e 100644 --- a/pdns/recursordist/recursor_cache.cc +++ b/pdns/recursordist/recursor_cache.cc @@ -153,7 +153,7 @@ time_t MemRecursorCache::handleHit(time_t now, MapCombo::LockedContent& content, time_t ttd = entry->d_ttd; if (ttd <= now) { // Expired, don't bother returning contents. Callers *MUST* check return value of get(), and only look at the entry - // if it returnded > 0 + // if it returned > 0 return ttd; } origTTL = entry->d_orig_ttl;