diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-03-17 12:38:37 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-03-17 12:38:37 +0000 |
commit | df9c8feac782c9feebad3a0fc7cc5eb7068bccf2 (patch) | |
tree | ad090affe0b93f33441afeddda27990a33f32464 /src/or/routerlist.c | |
parent | b5a7347db50ad76e8e1aaf6a6a88f733c202ca37 (diff) | |
download | tor-df9c8feac782c9feebad3a0fc7cc5eb7068bccf2.tar.gz tor-df9c8feac782c9feebad3a0fc7cc5eb7068bccf2.zip |
Commit fixes for several pending tor core tasks: document all DOCDOCed functions; time out uncontrolled unattached streams; feed reasons to SOCKS5 (refactoring connection_ap_handshake_socks_reply in the process); change DirFetchPeriod/StatusFetchPeriod to have a special "Be smart" value.
svn:r3769
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 5c8a46a743..5f7df4fb54 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -1192,7 +1192,8 @@ void running_routers_free(running_routers_t *rr) tor_free(rr); } -/** DOCDOC*/ +/** We've just got a running routers list in <b>rr</b>; update the + * status of the routers in <b>list</b>, and cache <b>rr</b> */ void routerlist_set_runningrouters(routerlist_t *list, running_routers_t *rr) { @@ -1389,6 +1390,7 @@ add_trusted_dir_server(const char *address, uint16_t port, const char *digest) smartlist_add(trusted_dir_servers, ent); } +/** Remove all members from the list of trusted dir servers. */ void clear_trusted_dir_servers(void) { if (trusted_dir_servers) { |