Show
Ignore:
Timestamp:
03/26/06 00:34:31 (7 years ago)
Author:
ahu
Message:

"I can't belieeeeeve it!" same bug twice

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/pdns_recursor.cc

    r621 r627  
    547547    int pruned=0; 
    548548    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) { 
    550550        SyncRes::s_negcache.erase(i++); 
    551551        pruned++;