diff options
author | Roger Dingledine <arma@torproject.org> | 2006-07-17 06:54:28 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-07-17 06:54:28 +0000 |
commit | 42e2057d675780f832634a7e193d6987a4402212 (patch) | |
tree | 2c20dec3a302deae9985946c83305edca8674cf7 /src/or/circuitbuild.c | |
parent | 9db7b2c0687a3ee28e96e0c0db6c2a3e7ef4c626 (diff) | |
download | tor-42e2057d675780f832634a7e193d6987a4402212.tar.gz tor-42e2057d675780f832634a7e193d6987a4402212.zip |
fix some more places where we shouldn't crash if we can't build
our own descriptor yet.
svn:r6775
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index e6d13d6673..5eebf0b10b 100644 --- a/src/or/circuitbuild.c +++ b/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 { |