]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
minor touchups
authorRoger Dingledine <arma@torproject.org>
Mon, 3 Dec 2007 22:04:19 +0000 (22:04 +0000)
committerRoger Dingledine <arma@torproject.org>
Mon, 3 Dec 2007 22:04:19 +0000 (22:04 +0000)
svn:r12657

src/or/connection_edge.c
src/or/dirserv.c

index dd218f5dd41c9327dbc6b8a47d9397abacebb512..8335a42a0d75273ba458097779a6c5b21291dfe2 100644 (file)
@@ -1986,6 +1986,7 @@ connection_ap_make_link(char *address, uint16_t port,
   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);
   }
index e4299fba9211b6e2ebf564dd493474bba6bddfcb..03a0c2791bc1d50695b9462836879d4ff58eedf4 100644 (file)
@@ -1727,7 +1727,7 @@ dirserv_compute_performance_thresholds(routerlist_t *rl)
 
   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,