aboutsummaryrefslogtreecommitdiff
path: root/src/or/command.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-06-12 10:16:33 +0000
committerRoger Dingledine <arma@torproject.org>2003-06-12 10:16:33 +0000
commitd3292e484a9c19a2cfca885b5a45d593158d99b5 (patch)
treeb24f0125ec893883bd88ccc403e9d8d8744e5290 /src/or/command.c
parent7137a57849f31d922569331a63e6507288032642 (diff)
downloadtor-d3292e484a9c19a2cfca885b5a45d593158d99b5.tar
tor-d3292e484a9c19a2cfca885b5a45d593158d99b5.tar.gz
implement truncate and truncated (untested)
clean up circuit_deliver_relay_cell convention svn:r312
Diffstat (limited to 'src/or/command.c')
-rw-r--r--src/or/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/command.c b/src/or/command.c
index 096bcfd7d..f9b3ba355 100644
--- a/src/or/command.c
+++ b/src/or/command.c
@@ -147,7 +147,7 @@ void command_process_created_cell(cell_t *cell, connection_t *conn) {
memcpy(newcell.payload+RELAY_HEADER_SIZE, cell->payload, DH_KEY_LEN);
log(LOG_DEBUG,"command_process_created_cell(): Sending extended relay cell.");
- if(circuit_deliver_relay_cell_from_edge(&newcell, circ, EDGE_EXIT, NULL) < 0) {
+ if(circuit_deliver_relay_cell(&newcell, circ, CELL_DIRECTION_IN, NULL) < 0) {
log(LOG_DEBUG,"command_process_created_cell(): failed to deliver extended cell. Closing.");
circuit_close(circ);
return;