浏览代码

note another bug to be fixed sometime

svn:r1754
Roger Dingledine 21 年之前
父节点
当前提交
2b5e6aef15
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/or/dirserv.c

+ 4 - 0
src/or/dirserv.c

@@ -363,6 +363,10 @@ list_running_servers(char **nicknames_out)
       continue; /* only list successfully handshaked OR's. */
       continue; /* only list successfully handshaked OR's. */
     if(!conn->nickname) /* it's an OP, don't list it */
     if(!conn->nickname) /* it's an OP, don't list it */
       continue;
       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;
     nickname_lst[n++] = conn->nickname;
   }
   }
   length = n + 1; /* spaces + EOS + 1. */
   length = n + 1; /* spaces + EOS + 1. */