]> granicus.if.org Git - pdns/commitdiff
rec: Remove the now irrelevant part of a comment about records' sizes
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 30 Apr 2018 10:06:49 +0000 (12:06 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 30 Apr 2018 10:06:49 +0000 (12:06 +0200)
pdns/recursor_cache.cc

index 1b41143b18a0a7f832bf4b00a0d3f342050ecd2a..8dc896d9e7c4621b29f3d2ac352c4874481417d6 100644 (file)
@@ -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;
 }