aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-04-30 05:42:52 +0000
committerRoger Dingledine <arma@torproject.org>2004-04-30 05:42:52 +0000
commit2b5e6aef15fa3658480f24435e03d616b6f0a465 (patch)
tree6d97e79317741feabf98c5840a9e1170178296dd /src/or
parent79e5c1bf23990d5f3107a419f149074c0f6ffd97 (diff)
downloadtor-2b5e6aef15fa3658480f24435e03d616b6f0a465.tar
tor-2b5e6aef15fa3658480f24435e03d616b6f0a465.tar.gz
note another bug to be fixed sometime
svn:r1754
Diffstat (limited to 'src/or')
-rw-r--r--src/or/dirserv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 631f3d244..cd7ab0e00 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -363,6 +363,10 @@ list_running_servers(char **nicknames_out)
continue; /* only list successfully handshaked OR's. */
if(!conn->nickname) /* it's an OP, don't list it */
continue;
+ /* XXX if conn->nickname not approved, continue. otherwise when you
+ * remove them from the approved list and hup, their descriptor is
+ * taken out of the directory, but they're still in the running-routers
+ * line. */
nickname_lst[n++] = conn->nickname;
}
length = n + 1; /* spaces + EOS + 1. */