summaryrefslogtreecommitdiff
path: root/trunk/src/or/circuitbuild.c
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/or/circuitbuild.c')
-rw-r--r--trunk/src/or/circuitbuild.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/trunk/src/or/circuitbuild.c b/trunk/src/or/circuitbuild.c
index e6d13d6673..5eebf0b10b 100644
--- a/trunk/src/or/circuitbuild.c
+++ b/trunk/src/or/circuitbuild.c
@@ -181,7 +181,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 {