summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
Diffstat (limited to 'src/or')
-rw-r--r--src/or/circuitbuild.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 985477304e..1bf16c1ac6 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -182,7 +182,8 @@ circuit_rep_hist_note_result(circuit_t *circ)
}
if (server_mode(get_options())) {
routerinfo_t *me = router_get_my_routerinfo();
- tor_assert(me);
+ if (!me)
+ return;
prev_digest = me->cache_info.identity_digest;
}
do {