From: bert hubert Date: Wed, 2 Apr 2014 18:38:59 +0000 (+0200) Subject: now, I'm not one to get OCD over things, but that log message about stats based on... X-Git-Tag: rec-3.6.0-rc1~106 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b1a2d6cf131ecd7c437cca20478a46d17c46fae2;p=thirdparty%2Fpdns.git now, I'm not one to get OCD over things, but that log message about stats based on 1801 seconds got to me. 1800 now. --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index f02b37a6e6..52ca7506ea 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -1191,7 +1191,7 @@ try } if(!t_id) { - if(now.tv_sec - last_stat > 1800) { + if(now.tv_sec - last_stat >= 1800) { doStats(); last_stat=time(0); }