aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-10-07 00:50:39 +0000
committerRoger Dingledine <arma@torproject.org>2006-10-07 00:50:39 +0000
commit06e5b2283c6b3b256f098191e7b86a44f00b2ccb (patch)
tree42facd018edd0278c2f4ef6777f9fd3afad8890f /src/or/routerlist.c
parent8ba5471de3c4b26f19f021ee8035c507dc1915f3 (diff)
downloadtor-06e5b2283c6b3b256f098191e7b86a44f00b2ccb.tar.gz
tor-06e5b2283c6b3b256f098191e7b86a44f00b2ccb.zip
minor cleanups
svn:r8622
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 022341ee95..ed63fd0e40 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -2294,8 +2294,8 @@ router_set_networkstatus(const char *s, time_t arrived_at,
}
base16_encode(fp, HEX_DIGEST_LEN+1, ns->identity_digest, DIGEST_LEN);
if (!(trusted_dir =
- router_get_trusteddirserver_by_digest(ns->identity_digest))
- || !trusted_dir->is_v2_authority) {
+ router_get_trusteddirserver_by_digest(ns->identity_digest)) ||
+ !trusted_dir->is_v2_authority) {
log_info(LD_DIR, "Network status was signed, but not by an authoritative "
"directory we recognize.");
if (!get_options()->DirPort) {