tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit a497a97e4cce54b1d8609f34465e5f76a18589a7
parent f75baf5ea53025dfd371f392ccfb685e9964b11e
Author: Alexander Færøy <ahf@torproject.org>
Date:   Fri, 26 Feb 2021 18:16:08 +0000

Change %lu to %TOR_PRIuSZ in dos.c.

This patch unbreaks the Windows build on master that was introduced in
99703eaca0f.

Diffstat:
Msrc/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 @@ -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)); }