diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-03-24 15:57:51 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-03-24 15:57:51 +0000 |
commit | 306d5400c367460936523f8417102f043a98fa78 (patch) | |
tree | 332d33d9a82fe3bf3bf8bb2be306b58c0a4bc5aa /src/or/command.c | |
parent | 2cf63f8a62b668c2543b31519d4a8ed593a70cc7 (diff) | |
download | tor-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/command.c')
-rw-r--r-- | src/or/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/command.c b/src/or/command.c index 208df8b22f..e771a8e321 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -292,7 +292,7 @@ command_process_created_cell(cell_t *cell, or_connection_t *conn) log_debug(LD_OR, "Converting created cell to extended relay cell, sending."); connection_edge_send_command(NULL, circ, RELAY_COMMAND_EXTENDED, - cell->payload, ONIONSKIN_REPLY_LEN, NULL); + cell->payload, ONIONSKIN_REPLY_LEN); } } @@ -384,7 +384,7 @@ command_process_destroy_cell(cell_t *cell, or_connection_t *conn) log_debug(LD_OR, "Delivering 'truncated' back."); payload[0] = (char)reason; connection_edge_send_command(NULL, circ, RELAY_COMMAND_TRUNCATED, - payload, sizeof(payload), NULL); + payload, sizeof(payload)); } } } |