Browse Source

minor touchups

svn:r12657
Roger Dingledine 16 years ago
parent
commit
3229117d3a
2 changed files with 2 additions and 1 deletions
  1. 1 0
      src/or/connection_edge.c
  2. 1 1
      src/or/dirserv.c

+ 1 - 0
src/or/connection_edge.c

@@ -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);
   }

+ 1 - 1
src/or/dirserv.c

@@ -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,