]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
now, I'm not one to get OCD over things, but that log message about stats based on...
authorbert hubert <bert.hubert@netherlabs.nl>
Wed, 2 Apr 2014 18:38:59 +0000 (20:38 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Wed, 2 Apr 2014 18:38:59 +0000 (20:38 +0200)
pdns/pdns_recursor.cc

index f02b37a6e64b250d2bdfc7504ac8ce129198bade..52ca7506eac4a3e6f5e29530622d9ccc31aae4b3 100644 (file)
@@ -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);
     }