diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-04-03 19:43:47 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-04-26 23:54:17 -0400 |
commit | 80adb3de507db4cd67208396e1ea301f131c1228 (patch) | |
tree | f2ada6125e306bfdf4baea7ea8f373043fd162b8 /src/or/routerlist.c | |
parent | 128582cc1f9fd363f3fb2a96b61fde1701a56970 (diff) | |
download | tor-80adb3de507db4cd67208396e1ea301f131c1228.tar.gz tor-80adb3de507db4cd67208396e1ea301f131c1228.zip |
When there is a transition in permitted nodes, apply it to trackexithosts map
IOW, if we were using TrackExitHosts, and we added an excluded node or
removed a node from exitnodes, we wouldn't actually remove the mapping
that points us at the new node.
Also, note with an XXX022 comment a place that I think we are looking
at the wrong string.
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index d5e8a6b051..d9f099b4f8 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -5474,7 +5474,7 @@ routerset_needs_geoip(const routerset_t *set) } /** Return true iff there are no entries in <b>set</b>. */ -static int +int routerset_is_empty(const routerset_t *set) { return !set || smartlist_len(set->list) == 0; |