[or-cvs] r12657: minor touchups (tor/trunk/src/or)
arma at seul.org
arma at seul.org
Mon Dec 3 22:04:19 UTC 2007
Author: arma
Date: 2007-12-03 17:04:19 -0500 (Mon, 03 Dec 2007)
New Revision: 12657
Modified:
tor/trunk/src/or/connection_edge.c
tor/trunk/src/or/dirserv.c
Log:
minor touchups
Modified: tor/trunk/src/or/connection_edge.c
===================================================================
--- tor/trunk/src/or/connection_edge.c 2007-12-03 21:26:15 UTC (rev 12656)
+++ tor/trunk/src/or/connection_edge.c 2007-12-03 22:04:19 UTC (rev 12657)
@@ -1986,6 +1986,7 @@
if (use_begindir) {
conn->chosen_exit_name = tor_malloc(HEX_DIGEST_LEN+2);
conn->chosen_exit_name[0] = '$';
+ tor_assert(digest);
base16_encode(conn->chosen_exit_name+1,HEX_DIGEST_LEN+1,
digest, DIGEST_LEN);
}
Modified: tor/trunk/src/or/dirserv.c
===================================================================
--- tor/trunk/src/or/dirserv.c 2007-12-03 21:26:15 UTC (rev 12656)
+++ tor/trunk/src/or/dirserv.c 2007-12-03 22:04:19 UTC (rev 12657)
@@ -1727,7 +1727,7 @@
log(LOG_INFO, LD_DIRSERV,
"Cutoffs: For Stable, %lu sec uptime, %lu sec MTBF. "
- "For Fast: %lu bytes/sec."
+ "For Fast: %lu bytes/sec. "
"For Guard: WFU %.03lf%%, time-known %lu sec, "
"and bandwidth %lu or %lu bytes/sec.",
(unsigned long)stable_uptime,
More information about the tor-commits
mailing list