]>
Commit | Line | Data |
---|---|---|
eaf1c14a | 1 | diff -urN org/pdns/communicator.hh pdns-2.9.13/pdns/communicator.hh |
2 | --- org/pdns/communicator.hh Sat May 24 20:39:31 2003 | |
3 | +++ pdns-2.9.13/pdns/communicator.hh Thu Jan 15 02:16:00 2004 | |
4 | @@ -94,7 +94,7 @@ | |
5 | ||
6 | time_t earliest() | |
7 | { | |
8 | - time_t early=1<<31-1; // y2038 problem lurking here :-) | |
9 | + time_t early=(1<<31)-1; // y2038 problem lurking here :-) | |
10 | for(d_nqueue_t::const_iterator i=d_nqueue.begin();i!=d_nqueue.end();++i) | |
11 | early=min(early,i->next); | |
12 | return early-time(0); |