diff options
author | Roger Dingledine <arma@torproject.org> | 2007-02-24 06:44:40 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-02-24 06:44:40 +0000 |
commit | 2015479b5a8f58d78e379c434cda82e7c4a86b95 (patch) | |
tree | 242b6bafe69eb5f3bbcca08ba762b9546632fecf /src/or/circuitbuild.c | |
parent | a5af49afc39fef581a79ca6d30aa64ba38858557 (diff) | |
download | tor-2015479b5a8f58d78e379c434cda82e7c4a86b95.tar.gz tor-2015479b5a8f58d78e379c434cda82e7c4a86b95.zip |
fix crash introduced in r9622
svn:r9632
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 33d5e8e2c9..58e85da590 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -2201,7 +2201,8 @@ entry_guard_register_connect_status(const char *digest, int succeeded, entry->nickname, buf, tbuf); entry->last_attempted = now; } - entry->can_retry = 0; /* We gave it an early chance; no good. */ + if (entry) + entry->can_retry = 0; /* We gave it an early chance; no good. */ } if (first_contact) { |