aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-07-21 00:44:04 +0000
committerNick Mathewson <nickm@torproject.org>2004-07-21 00:44:04 +0000
commit334de84cbe47944b52b004f0a7e3c4125c8b732b (patch)
treed7c23fcdec965e096178abf945214914d4c6e4c7 /src/or/router.c
parent99926813b1a8b29f712f0e9ea3c8c3bfa0aba56b (diff)
downloadtor-334de84cbe47944b52b004f0a7e3c4125c8b732b.tar
tor-334de84cbe47944b52b004f0a7e3c4125c8b732b.tar.gz
Misc small code cleanups; remove exit_server_mode(); change tor_tls_verify behavior
svn:r2073
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/router.c b/src/or/router.c
index f9b413db0..578370893 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -516,8 +516,8 @@ int router_rebuild_descriptor(void) {
log_fn(LOG_WARN, "Couldn't dump router to string.");
return -1;
}
- ri->is_trusted_dir = ri->dir_port &&
- router_digest_is_trusted_dir(ri->identity_digest);
+ ri->is_trusted_dir = (ri->dir_port &&
+ router_digest_is_trusted_dir(ri->identity_digest));
return 0;
}