diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-12-18 16:11:24 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-12-18 16:11:24 +0000 |
commit | 122170c1d3333185bacf361c523c8e19f0a5e8ba (patch) | |
tree | 89abcc91294222de3353c64d0e00f98618e9f55e /src/or/networkstatus.c | |
parent | 6c6b0283cbc24f2d3d3bb7139e1cbeb5a35cfedd (diff) | |
download | tor-122170c1d3333185bacf361c523c8e19f0a5e8ba.tar.gz tor-122170c1d3333185bacf361c523c8e19f0a5e8ba.zip |
Downlgrade tweak, and answer lots of XXX021s. No actual code fixes in this patch.
svn:r17686
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r-- | src/or/networkstatus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index b325e5620d..869d812a1b 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -908,7 +908,7 @@ router_get_consensus_status_by_nickname(const char *nickname, /* This name is not canonical for any server; go through the list and * see who it matches. */ - /*XXXX021 This is inefficient. */ + /*XXXX This is inefficient; optimize it if it matters. */ matches = smartlist_create(); SMARTLIST_FOREACH(current_consensus->routerstatus_list, routerstatus_t *, lrs, @@ -1746,7 +1746,7 @@ 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. */ - /* XXXX021 If this is slow, we need to rethink the code. */ + /* 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_LIFETIME; SMARTLIST_FOREACH_JOIN(ns->entries, routerstatus_t *, rs, |