From: phonedph1 Date: Tue, 4 Sep 2018 01:13:18 +0000 (+0000) Subject: Use proper type X-Git-Tag: dnsdist-1.3.3~126^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F6882%2Fhead;p=thirdparty%2Fpdns.git Use proper type --- diff --git a/pdns/syncres.cc b/pdns/syncres.cc index 94ea138904..dcf8a5fb6b 100644 --- a/pdns/syncres.cc +++ b/pdns/syncres.cc @@ -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;