mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 06:48:05 +01:00
Clarification to suppress Coverity CID 405.
Every or conn has an outbuf, but coverity has no way of knowing that. Add an assert to ease its conscience.
This commit is contained in:
parent
8519d36633
commit
a457cd91fa
1 changed files with 1 additions and 0 deletions
|
@ -731,6 +731,7 @@ run_connection_housekeeping(int i, time_t now)
|
|||
return; /* we're all done here, the rest is just for OR conns */
|
||||
|
||||
or_conn = TO_OR_CONN(conn);
|
||||
tor_assert(conn->outbuf);
|
||||
|
||||
if (or_conn->is_bad_for_new_circs && !or_conn->n_circuits) {
|
||||
/* It's bad for new circuits, and has no unmarked circuits on it:
|
||||
|
|
Loading…
Add table
Reference in a new issue