diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-09-27 12:23:49 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-09-27 12:23:49 -0400 |
commit | 9c8fb75edf3e8025a71b806d35e550f89f3f0999 (patch) | |
tree | f692993d26dddef9721cea5335f7f6372d75306a /src/or/routerlist.c | |
parent | 303beead53c24cfc2b48a0873950f46beb6d8e58 (diff) | |
download | tor-9c8fb75edf3e8025a71b806d35e550f89f3f0999.tar tor-9c8fb75edf3e8025a71b806d35e550f89f3f0999.tar.gz |
Clean up some bug1805 comments based on arma's feedback
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index a153bc178..909c0a2ae 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -1586,7 +1586,7 @@ smartlist_choose_by_bandwidth_weights(smartlist_t *sl, double *bandwidths; double tmp = 0; unsigned int i; - int have_unknown = 0; /**< sl contains element not in consensus. */ + int have_unknown = 0; /* true iff sl contains element not in consensus. */ /* Can't choose exit and guard at same time */ tor_assert(rule == NO_WEIGHTING || @@ -1734,7 +1734,7 @@ smartlist_choose_by_bandwidth_weights(smartlist_t *sl, /* If there is no bandwidth, choose at random */ if (DBL_TO_U64(weighted_bw) == 0) { - /* Dont't warn when using bridges/relays not in the consensus */ + /* Don't warn when using bridges/relays not in the consensus */ if (!have_unknown) log_warn(LD_CIRC, "Weighted bandwidth is %lf in node selection for rule %s", |