From: Remi Gacogne Date: Mon, 30 Apr 2018 10:06:49 +0000 (+0200) Subject: rec: Remove the now irrelevant part of a comment about records' sizes X-Git-Tag: dnsdist-1.3.1~102^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b7503571a31de09030b82946e3586aa52688be0;p=thirdparty%2Fpdns.git rec: Remove the now irrelevant part of a comment about records' sizes --- diff --git a/pdns/recursor_cache.cc b/pdns/recursor_cache.cc index 1b41143b18..8dc896d9e7 100644 --- a/pdns/recursor_cache.cc +++ b/pdns/recursor_cache.cc @@ -33,7 +33,7 @@ unsigned int MemRecursorCache::bytes() const ret+=sizeof(struct CacheEntry); ret+=(unsigned int)i.d_qname.toString().length(); for(const auto& record : i.d_records) - ret+= sizeof(record); // XXX WRONG we don't know the stored size! j->size(); + ret+= sizeof(record); // XXX WRONG we don't know the stored size! } return ret; }