summaryrefslogtreecommitdiff
path: root/src/or/rendclient.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-03-24 15:57:51 +0000
committerNick Mathewson <nickm@torproject.org>2007-03-24 15:57:51 +0000
commit306d5400c367460936523f8417102f043a98fa78 (patch)
tree332d33d9a82fe3bf3bf8bb2be306b58c0a4bc5aa /src/or/rendclient.c
parent2cf63f8a62b668c2543b31519d4a8ed593a70cc7 (diff)
downloadtor-306d5400c367460936523f8417102f043a98fa78.tar.gz
tor-306d5400c367460936523f8417102f043a98fa78.zip
r12643@0-41-wifi: nickm | 2007-03-23 14:56:35 -0400
Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit. svn:r9899
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r--src/or/rendclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index eedb38deaa..fad32f648f 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -37,7 +37,7 @@ rend_client_send_establish_rendezvous(origin_circuit_t *circ)
circuit_mark_for_close(TO_CIRCUIT(circ), END_CIRC_REASON_INTERNAL);
return -1;
}
- if (connection_edge_send_command(NULL,TO_CIRCUIT(circ),
+ if (relay_send_command_from_edge(0, TO_CIRCUIT(circ),
RELAY_COMMAND_ESTABLISH_RENDEZVOUS,
circ->rend_cookie, REND_COOKIE_LEN,
circ->cpath->prev)<0) {
@@ -144,7 +144,7 @@ rend_client_send_introduction(origin_circuit_t *introcirc,
tor_assert(DIGEST_LEN + r <= RELAY_PAYLOAD_SIZE); /* we overran something */
payload_len = DIGEST_LEN + r;
- if (connection_edge_send_command(NULL, TO_CIRCUIT(introcirc),
+ if (relay_send_command_from_edge(0, TO_CIRCUIT(introcirc),
RELAY_COMMAND_INTRODUCE1,
payload, payload_len,
introcirc->cpath->prev)<0) {