diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-10-15 11:21:33 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-10-15 11:21:33 -0400 |
commit | 247ce5876a56cdbbd6a7b3f501476ff10f4bce5e (patch) | |
tree | 158df71c0adab13d9902bd9a73073e6b9012982d /src/or/networkstatus.c | |
parent | a5289fa79442896b87c2f5dd59eed4289f99c5e4 (diff) | |
download | tor-247ce5876a56cdbbd6a7b3f501476ff10f4bce5e.tar.gz tor-247ce5876a56cdbbd6a7b3f501476ff10f4bce5e.zip |
Remove "is this too slow?" XXXX comments for code not appearing in profiles
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r-- | src/or/networkstatus.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index 2361faabf2..a99893f4ee 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -971,7 +971,7 @@ networkstatus_vote_find_entry(networkstatus_t *ns, const char *digest) return networkstatus_vote_find_mutable_entry(ns, digest); } -/*XXXX make this static once functions are moved into this file. */ +/*XXXX MOVE make this static once functions are moved into this file. */ /** Search the routerstatuses in <b>ns</b> for one whose identity digest is * <b>digest</b>. Return value and set *<b>found_out</b> as for * smartlist_bsearch_idx(). */ @@ -2031,7 +2031,6 @@ routers_update_status_from_consensus_networkstatus(smartlist_t *routers, } SMARTLIST_FOREACH_JOIN_END(rs, router); /* Now update last_listed_as_valid_until from v2 networkstatuses. */ - /* XXXX If this is slow, we need to rethink the code. */ SMARTLIST_FOREACH(networkstatus_v2_list, networkstatus_v2_t *, ns, { time_t live_until = ns->published_on + V2_NETWORKSTATUS_ROUTER_LIFETIME; SMARTLIST_FOREACH_JOIN(ns->entries, const routerstatus_t *, rs, |