aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendclient.c
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2014-02-12 14:36:08 +0100
committerKarsten Loesing <karsten.loesing@gmx.net>2014-02-12 14:36:08 +0100
commit74c2bff781e12635daead9149c1000367feddfae (patch)
treee87a5c0bb29ca027ae1d76afdf5d9f07cd94da9f /src/or/rendclient.c
parent1ccc282122d61b68004b33775e7b04cd92d364fa (diff)
downloadtor-74c2bff781e12635daead9149c1000367feddfae.tar
tor-74c2bff781e12635daead9149c1000367feddfae.tar.gz
Remove remaining v0 hidden service descriptor code.
Fixes the rest of #10841 after #10881 already removed some hidden service authority code.
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r--src/or/rendclient.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index 2327a547c..24d720c91 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -796,8 +796,7 @@ rend_client_cancel_descriptor_fetches(void)
SMARTLIST_FOREACH_BEGIN(connection_array, connection_t *, conn) {
if (conn->type == CONN_TYPE_DIR &&
- (conn->purpose == DIR_PURPOSE_FETCH_RENDDESC ||
- conn->purpose == DIR_PURPOSE_FETCH_RENDDESC_V2)) {
+ conn->purpose == DIR_PURPOSE_FETCH_RENDDESC_V2) {
/* It's a rendezvous descriptor fetch in progress -- cancel it
* by marking the connection for close.
*