summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-05-04 10:43:01 +0000
committerRoger Dingledine <arma@torproject.org>2007-05-04 10:43:01 +0000
commit713626bd731924b058979d6cd2e3f4fe3f38763b (patch)
treedba58f5a206a2410028fe2c8a6d192e6dacd4236 /src/or
parent10efbed2f5d865bcce1d5e3830d99266351263cf (diff)
downloadtor-713626bd731924b058979d6cd2e3f4fe3f38763b.tar.gz
tor-713626bd731924b058979d6cd2e3f4fe3f38763b.zip
make it work on windows/etc again, i presume
svn:r10118
Diffstat (limited to 'src/or')
-rw-r--r--src/or/config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index a218b85c87..838a2ef127 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -2286,7 +2286,8 @@ ensure_bandwidth_cap(uint64_t value, const char *desc, char **msg)
char buf[1024];
if (value > ROUTER_MAX_DECLARED_BANDWIDTH) {
r = tor_snprintf(buf, sizeof(buf), "%s ("U64_FORMAT") must be at most %d",
- desc, value, ROUTER_MAX_DECLARED_BANDWIDTH);
+ desc, U64_PRINTF_ARG(value),
+ ROUTER_MAX_DECLARED_BANDWIDTH);
*msg = tor_strdup(r >= 0 ? buf : "internal error");
return -1;
}