From 13f943434f5e4b89059a65119ed20a74236bdff7 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Fri, 30 Apr 2004 05:42:52 +0000 Subject: [PATCH] note another bug to be fixed sometime svn:r1754 --- trunk/src/or/dirserv.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/trunk/src/or/dirserv.c b/trunk/src/or/dirserv.c index 631f3d244b..cd7ab0e00d 100644 --- a/trunk/src/or/dirserv.c +++ b/trunk/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. */