CONTRIB: halog: fix build issue caused by %L printf format

%Ld isn't standard, %lld is more portable. In addition, the format
should be %llu since the printed values are unsigned. This should
address issue #1013.
This commit is contained in:
Willy Tarreau 2020-12-21 08:29:09 +01:00
parent c7ead07b9c
commit 2df860cb13

View File

@ -1288,7 +1288,7 @@ int main(int argc, char **argv)
node = eb_last(&timers[0]);
while (node) {
ustat = container_of(node, struct url_stat, node.url.node);
printf("%d %d %Ld %Ld %Ld %Ld %Ld %Ld %s\n",
printf("%d %d %llu %llu %llu %llu %llu %llu %s\n",
ustat->nb_req,
ustat->nb_err,
ustat->total_time,