mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
fix typo, remove extraneous variable
svn:r6311
This commit is contained in:
@@ -676,7 +676,7 @@ _circuit_mark_for_close(circuit_t *circ, int reason, int line,
|
||||
reason = END_CIRC_REASON_NONE;
|
||||
} else if (CIRCUIT_IS_ORIGIN(circ) && reason != END_CIRC_REASON_NONE) {
|
||||
/* Don't warn about this; there are plenty of places where our code
|
||||
* is origin-agnosic. */
|
||||
* is origin-agnostic. */
|
||||
reason = END_CIRC_REASON_NONE;
|
||||
}
|
||||
if (reason < _END_CIRC_REASON_MIN || reason > _END_CIRC_REASON_MAX) {
|
||||
|
||||
@@ -2612,7 +2612,6 @@ compute_recommended_versions(time_t now, int client)
|
||||
{
|
||||
const char *vers;
|
||||
smartlist_t *versions;
|
||||
int i;
|
||||
if (! ns->recommends_versions)
|
||||
continue;
|
||||
if (ns->received_on + SELF_OPINION_INTERVAL < now)
|
||||
|
||||
Reference in New Issue
Block a user