summaryrefslogtreecommitdiff
path: root/src/or/channel.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-03 19:19:02 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-03 19:19:02 -0400
commit218b1746baea65c06551f7e2736d382e6a01a49d (patch)
tree97d3edfb1b6aaea105171c09d5edcd34973e17ec /src/or/channel.c
parent21c81348a39dd235c40656c34abb76daf88e81f3 (diff)
parent2680a8b5b108ff1532b1aa59849e3156ce76f52b (diff)
downloadtor-218b1746baea65c06551f7e2736d382e6a01a49d.tar.gz
tor-218b1746baea65c06551f7e2736d382e6a01a49d.zip
Merge remote-tracking branch 'fristonio/ticket-25645'
Diffstat (limited to 'src/or/channel.c')
-rw-r--r--src/or/channel.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/channel.c b/src/or/channel.c
index 18fa1655a4..68245db497 100644
--- a/src/or/channel.c
+++ b/src/or/channel.c
@@ -2387,7 +2387,7 @@ channel_get_for_extend(const char *rsa_id_digest,
{
channel_t *chan, *best = NULL;
int n_inprogress_goodaddr = 0, n_old = 0;
- int n_noncanonical = 0, n_possible = 0;
+ int n_noncanonical = 0;
tor_assert(msg_out);
tor_assert(launch_out);
@@ -2450,8 +2450,6 @@ channel_get_for_extend(const char *rsa_id_digest,
continue;
}
- ++n_possible;
-
if (!best) {
best = chan; /* If we have no 'best' so far, this one is good enough. */
continue;