[or-cvs] note another bug to be fixed sometime
Roger Dingledine
arma at seul.org
Fri Apr 30 05:42:54 UTC 2004
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
dirserv.c
Log Message:
note another bug to be fixed sometime
Index: dirserv.c
===================================================================
RCS file: /home/or/cvsroot/src/or/dirserv.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- dirserv.c 28 Apr 2004 20:13:21 -0000 1.40
+++ dirserv.c 30 Apr 2004 05:42:52 -0000 1.41
@@ -363,6 +363,10 @@
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. */
More information about the tor-commits
mailing list