[or-cvs] r10118: make it work on windows/etc again, i presume (tor/trunk/src/or)

arma at seul.org arma at seul.org
Fri May 4 10:43:16 UTC 2007


Author: arma
Date: 2007-05-04 06:43:01 -0400 (Fri, 04 May 2007)
New Revision: 10118

Modified:
   tor/trunk/src/or/config.c
Log:
make it work on windows/etc again, i presume


Modified: tor/trunk/src/or/config.c
===================================================================
--- tor/trunk/src/or/config.c	2007-05-04 10:39:17 UTC (rev 10117)
+++ tor/trunk/src/or/config.c	2007-05-04 10:43:01 UTC (rev 10118)
@@ -2286,7 +2286,8 @@
   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;
   }



More information about the tor-commits mailing list