Compare commits

..

2 Commits

Author SHA1 Message Date
bol-van
d014ffe0ba mdig: fix stats display on 32-bit systems with 64-bit time_t 2024-09-14 17:49:08 +03:00
bol-van
f1c091f9e4 tls_clienthello_www_google_com.bin 2024-09-14 17:25:27 +03:00
10 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -156,7 +156,7 @@ static void stat_print(int ct, int ct_ok)
if (glob.stats_every > 0)
{
time_t tm = time(NULL)-glob.start_time;
interlocked_fprintf(stderr, "mdig stats : %02u:%02u:%02u : domains=%d success=%d error=%d\n", tm/3600, (tm/60)%60, tm%60, ct, ct_ok, ct - ct_ok);
interlocked_fprintf(stderr, "mdig stats : %02u:%02u:%02u : domains=%d success=%d error=%d\n", (unsigned int)(tm/3600), (unsigned int)((tm/60)%60), (unsigned int)(tm%60), ct, ct_ok, ct - ct_ok);
}
}