summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2019-12-18 14:19:15 +0200
committerGeorge Kadianakis <desnacked@riseup.net>2019-12-18 14:19:15 +0200
commitb7304027f661ae9abb1f306ac60aaaa3296d8a21 (patch)
tree8256d0a892bd898cb25e28faf2fcf0d9e0139a45 /src
parent08bfc2d71a856feee0db5d230d31c5ad6b45d0c5 (diff)
parenta8b5b9a1bce34e8781a69accd35d9ba9fddac80e (diff)
downloadtor-b7304027f661ae9abb1f306ac60aaaa3296d8a21.tar.gz
tor-b7304027f661ae9abb1f306ac60aaaa3296d8a21.zip
Merge branch 'tor-github/pr/1587'
Diffstat (limited to 'src')
-rw-r--r--src/feature/hs/hs_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/hs/hs_client.c b/src/feature/hs/hs_client.c
index b5030da473..6656ab2edb 100644
--- a/src/feature/hs/hs_client.c
+++ b/src/feature/hs/hs_client.c
@@ -145,7 +145,7 @@ static void
cancel_descriptor_fetches(void)
{
smartlist_t *conns =
- connection_list_by_type_state(CONN_TYPE_DIR, DIR_PURPOSE_FETCH_HSDESC);
+ connection_list_by_type_purpose(CONN_TYPE_DIR, DIR_PURPOSE_FETCH_HSDESC);
SMARTLIST_FOREACH_BEGIN(conns, connection_t *, conn) {
const hs_ident_dir_conn_t *ident = TO_DIR_CONN(conn)->hs_ident;
if (BUG(ident == NULL)) {