From 11b90a58a4ef2117a19249294bf669b8b962844e Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Tue, 31 Oct 2023 08:59:40 +0100 Subject: [PATCH] typo in comment Co-authored-by: Remi Gacogne --- pdns/recursordist/recursor_cache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2