From a497a97e4cce54b1d8609f34465e5f76a18589a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20F=C3=A6r=C3=B8y?= Date: Fri, 26 Feb 2021 18:16:08 +0000 Subject: [PATCH] Change %lu to %TOR_PRIuSZ in dos.c. This patch unbreaks the Windows build on master that was introduced in 99703eaca0f. --- src/core/or/dos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/or/dos.c b/src/core/or/dos.c index b00863c118..bc242e37ca 100644 --- a/src/core/or/dos.c +++ b/src/core/or/dos.c @@ -520,7 +520,7 @@ conn_update_on_connect(conn_client_stats_t *stats, const tor_addr_t *addr) } log_debug(LD_DOS, "Client address %s has now %u concurrent connections. " - "Remaining %lu/sec connections are allowed.", + "Remaining %" TOR_PRIuSZ "/sec connections are allowed.", fmt_addr(addr), stats->concurrent_count, token_bucket_ctr_get(&stats->connect_count)); }