]> granicus.if.org Git - pdns/commitdiff
Fix struct pdns_timeval init in dnsgram
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 27 Jun 2016 16:14:37 +0000 (18:14 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 27 Jun 2016 16:14:37 +0000 (18:14 +0200)
pdns/dnsgram.cc

index 9b8ae75475058f4bec31440df0f9cf4d835819b4..4831056e0c1b411afc28bc39756c923284ea0fd1 100644 (file)
@@ -120,7 +120,7 @@ try
     /* we measure every 60 seconds, each interval with 10% less answers than questions is interesting */
     /* report chunked */
     
-    struct pdns_timeval lastreport={0, 0};
+    struct pdns_timeval lastreport;
     
     typedef set<pair<DNSName, uint16_t> > queries_t;
     queries_t questions, answers;