summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2021-02-26 18:16:08 +0000
committerAlexander Færøy <ahf@torproject.org>2021-02-26 18:16:08 +0000
commita497a97e4cce54b1d8609f34465e5f76a18589a7 (patch)
treef795e62b6a360908db8528ca2227d4c33348a5db /src/core
parentf75baf5ea53025dfd371f392ccfb685e9964b11e (diff)
downloadtor-a497a97e4cce54b1d8609f34465e5f76a18589a7.tar.gz
tor-a497a97e4cce54b1d8609f34465e5f76a18589a7.zip
Change %lu to %TOR_PRIuSZ in dos.c.
This patch unbreaks the Windows build on master that was introduced in 99703eaca0f.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/or/dos.c2
1 files changed, 1 insertions, 1 deletions
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));
}