Changeset 627 for trunk/pdns/pdns/pdns_recursor.cc
- Timestamp:
- 03/26/06 00:34:31 (7 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/pdns_recursor.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/pdns_recursor.cc
r621 r627 547 547 int pruned=0; 548 548 for(SyncRes::negcache_t::iterator i = SyncRes::s_negcache.begin(); i != SyncRes::s_negcache.end();) 549 if(i->second.ttd >now.tv_sec) {549 if(i->second.ttd < now.tv_sec) { 550 550 SyncRes::s_negcache.erase(i++); 551 551 pruned++;