commit a497a97e4cce54b1d8609f34465e5f76a18589a7 Author: Alexander Færøy ahf@torproject.org Date: Fri Feb 26 18:16:08 2021 +0000
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)); }
tor-commits@lists.torproject.org