Changeset 615
- Timestamp:
- 03/24/06 23:28:58 (7 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/syncres.hh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/syncres.hh
r608 r615 44 44 if(now > d_last_clean + 60 ) { 45 45 d_last_clean=now; 46 for(typename cont_t::iterator i=d_cont.begin();i!=d_cont.end();) 47 if( i->second.ttd >now) {46 for(typename cont_t::iterator i=d_cont.begin();i!=d_cont.end();) { 47 if( i->second.ttd < now) { 48 48 d_cont.erase(i++); 49 49 } 50 50 else 51 51 ++i; 52 } 52 53 } 53 54