fix crash introduced in r9622

svn:r9632
This commit is contained in:
Roger Dingledine 2007-02-24 06:44:40 +00:00
parent a5af49afc3
commit 2015479b5a

View file

@ -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) {