From 306d5400c367460936523f8417102f043a98fa78 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sat, 24 Mar 2007 15:57:51 +0000 Subject: 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 --- src/or/rendservice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/or/rendservice.c') diff --git a/src/or/rendservice.c b/src/or/rendservice.c index db34797ef2..fdacefaa97 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -768,7 +768,7 @@ rend_service_intro_has_opened(origin_circuit_t *circuit) } len += r; - if (connection_edge_send_command(NULL, TO_CIRCUIT(circuit), + if (relay_send_command_from_edge(0, TO_CIRCUIT(circuit), RELAY_COMMAND_ESTABLISH_INTRO, buf, len, circuit->cpath->prev)<0) { log_info(LD_GENERAL, @@ -862,7 +862,7 @@ rend_service_rendezvous_has_opened(origin_circuit_t *circuit) DIGEST_LEN); /* Send the cell */ - if (connection_edge_send_command(NULL, TO_CIRCUIT(circuit), + if (relay_send_command_from_edge(0, TO_CIRCUIT(circuit), RELAY_COMMAND_RENDEZVOUS1, buf, REND_COOKIE_LEN+DH_KEY_LEN+DIGEST_LEN, circuit->cpath->prev)<0) { -- cgit v1.2.3-54-g00ecf