[tor-commits] [tor/master] Get the extend_info_from_router check the right way around
nickm at torproject.org
nickm at torproject.org
Tue Aug 2 13:17:08 UTC 2016
commit 8c2ee16b8f9ea5a9ed424584c3cb758c4e58883c
Author: teor <teor2345 at gmail.com>
Date: Tue Aug 2 14:28:56 2016 +1000
Get the extend_info_from_router check the right way around
---
src/or/router.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/or/router.c b/src/or/router.c
index 009dcdc..bfc2d12 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -1293,7 +1293,7 @@ extend_info_from_router(const routerinfo_t *r)
tor_assert(r);
/* Make sure we don't need to check address reachability */
- tor_assert_nonfatal(!router_skip_or_reachability(get_options(), 0));
+ tor_assert_nonfatal(router_skip_or_reachability(get_options(), 0));
router_get_prim_orport(r, &ap);
return extend_info_new(r->nickname, r->cache_info.identity_digest,
More information about the tor-commits
mailing list