summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2009-05-03 01:04:25 +0200
committerNick Mathewson <nickm@torproject.org>2009-05-04 13:46:30 -0400
commit948835c6809932a3013846302a74f1ccf9d4c99c (patch)
tree45a645f269454f43abbc3a51d63b18c1f34c84bf /src/or/directory.c
parent592f9571690514ebff0df9732b927bbfdba136a7 (diff)
downloadtor-948835c6809932a3013846302a74f1ccf9d4c99c.tar.gz
tor-948835c6809932a3013846302a74f1ccf9d4c99c.zip
Remove unused rendversion parameters. YAGNI.
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index f20efc1d31..ec31d77eb2 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -1899,7 +1899,7 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
/* Success, or at least there's a v2 descriptor already
* present. Notify pending connections about this. */
conn->_base.purpose = DIR_PURPOSE_HAS_FETCHED_RENDDESC;
- rend_client_desc_trynow(conn->rend_data->onion_address, -1);
+ rend_client_desc_trynow(conn->rend_data->onion_address);
}
break;
case 404:
@@ -1946,7 +1946,7 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
log_info(LD_REND, "Successfully fetched v2 rendezvous "
"descriptor.");
conn->_base.purpose = DIR_PURPOSE_HAS_FETCHED_RENDDESC;
- rend_client_desc_trynow(conn->rend_data->onion_address, -1);
+ rend_client_desc_trynow(conn->rend_data->onion_address);
break;
}
break;