diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-09-21 22:05:09 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-09-21 22:05:09 -0400 |
commit | 9d4c53534de1c496069860f313633e1c31a8a461 (patch) | |
tree | 5e43b4f9bc185a540f598631057a5872dd6a774c /src/or/dirserv.c | |
parent | cf182efe0d026273fcea48321e30b29279e99de3 (diff) | |
download | tor-9d4c53534de1c496069860f313633e1c31a8a461.tar.gz tor-9d4c53534de1c496069860f313633e1c31a8a461.zip |
Remove the testing_since* fields
They weren't actually used since 7a35dad00
Bug 5809
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 468515eb22..0d98324bfd 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -3400,6 +3400,7 @@ dirserv_single_reachability_test(time_t now, routerinfo_t *router) { node_t *node = NULL; tor_addr_t router_addr; + (void) now; tor_assert(router); node = node_get_mutable_by_id(router->cache_info.identity_digest); @@ -3408,9 +3409,6 @@ dirserv_single_reachability_test(time_t now, routerinfo_t *router) /* IPv4. */ log_debug(LD_OR,"Testing reachability of %s at %s:%u.", router->nickname, router->address, router->or_port); - /* Remember when we started trying to determine reachability */ - if (!node->testing_since) - node->testing_since = now; tor_addr_from_ipv4h(&router_addr, router->addr); connection_or_connect(&router_addr, router->or_port, router->cache_info.identity_digest); @@ -3423,8 +3421,6 @@ dirserv_single_reachability_test(time_t now, routerinfo_t *router) router->nickname, tor_addr_to_str(addrstr, &router->ipv6_addr, sizeof(addrstr), 1), router->ipv6_orport); - if (!node->testing_since6) - node->testing_since6 = now; connection_or_connect(&router->ipv6_addr, router->ipv6_orport, router->cache_info.identity_digest); } |