]> granicus.if.org Git - pdns/commitdiff
Use proper type
authorphonedph1 <phoned@gmail.com>
Tue, 4 Sep 2018 01:13:18 +0000 (01:13 +0000)
committerphonedph1 <phoned@gmail.com>
Tue, 4 Sep 2018 01:13:18 +0000 (01:13 +0000)
pdns/syncres.cc

index 94ea138904b6479a212587be80b5a1df903ea8aa..dcf8a5fb6b1585c12c0c6e5acae8ee5b29f1b2e2 100644 (file)
@@ -402,7 +402,7 @@ uint64_t SyncRes::doDumpThrottleMap(int fd)
   {
     count++;
     // remote IP, dns name, qtype, count, ttd
-    fprintf(fp, "%s\t%s\t%d\t%d\t%s", i.first.get<0>().toString().c_str(), i.first.get<1>().toString().c_str(), i.first.get<2>(), i.second.count, ctime(&i.second.ttd));
+    fprintf(fp, "%s\t%s\t%d\t%u\t%s", i.first.get<0>().toString().c_str(), i.first.get<1>().toString().c_str(), i.first.get<2>(), i.second.count, ctime(&i.second.ttd));
   }
   fclose(fp);
   return count;