mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-14 07:03:44 +01:00
minor touchups
svn:r12657
This commit is contained in:
parent
f4e228f849
commit
3229117d3a
@ -1986,6 +1986,7 @@ connection_ap_make_link(char *address, uint16_t port,
|
|||||||
if (use_begindir) {
|
if (use_begindir) {
|
||||||
conn->chosen_exit_name = tor_malloc(HEX_DIGEST_LEN+2);
|
conn->chosen_exit_name = tor_malloc(HEX_DIGEST_LEN+2);
|
||||||
conn->chosen_exit_name[0] = '$';
|
conn->chosen_exit_name[0] = '$';
|
||||||
|
tor_assert(digest);
|
||||||
base16_encode(conn->chosen_exit_name+1,HEX_DIGEST_LEN+1,
|
base16_encode(conn->chosen_exit_name+1,HEX_DIGEST_LEN+1,
|
||||||
digest, DIGEST_LEN);
|
digest, DIGEST_LEN);
|
||||||
}
|
}
|
||||||
|
@ -1727,7 +1727,7 @@ dirserv_compute_performance_thresholds(routerlist_t *rl)
|
|||||||
|
|
||||||
log(LOG_INFO, LD_DIRSERV,
|
log(LOG_INFO, LD_DIRSERV,
|
||||||
"Cutoffs: For Stable, %lu sec uptime, %lu sec MTBF. "
|
"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, "
|
"For Guard: WFU %.03lf%%, time-known %lu sec, "
|
||||||
"and bandwidth %lu or %lu bytes/sec.",
|
"and bandwidth %lu or %lu bytes/sec.",
|
||||||
(unsigned long)stable_uptime,
|
(unsigned long)stable_uptime,
|
||||||
|
Loading…
Reference in New Issue
Block a user