aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.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/circuitbuild.c
parent99926813b1a8b29f712f0e9ea3c8c3bfa0aba56b (diff)
downloadtor-334de84cbe47944b52b004f0a7e3c4125c8b732b.tar.gz
tor-334de84cbe47944b52b004f0a7e3c4125c8b732b.zip
Misc small code cleanups; remove exit_server_mode(); change tor_tls_verify behavior
svn:r2073
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r--src/or/circuitbuild.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 1ed6b029a7..980c4410cd 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -114,7 +114,9 @@ void circuit_rep_hist_note_result(circuit_t *circ) {
return;
}
if (server_mode()) {
- prev_digest = router_get_my_routerinfo()->identity_digest;
+ routerinfo_t *me = router_get_my_routerinfo();
+ tor_assert(me);
+ prev_digest = me->identity_digest;
}
do {
router = router_get_by_digest(hop->identity_digest);