diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-09-03 10:26:50 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-09-03 10:26:50 -0400 |
commit | 296a7d83880d75296d6665295f9fc4cb41cb63d8 (patch) | |
tree | cc67ef9a7f7bac7d769dfc3b6af625df5d31fc2f | |
parent | f89323afdadadb8db7eb48f7cbe75c5f4384dae4 (diff) | |
download | tor-296a7d83880d75296d6665295f9fc4cb41cb63d8.tar.gz tor-296a7d83880d75296d6665295f9fc4cb41cb63d8.zip |
Fix a missing stream_id argument; found by "tracktor"
-rw-r--r-- | src/or/relay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index 794f448523..d0986c8d4e 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -625,8 +625,8 @@ relay_send_command_from_edge(uint16_t stream_id, circuit_t *circ, } } - if (circuit_package_relay_cell(&cell, circ, cell_direction, cpath_layer, 0) - < 0) { + if (circuit_package_relay_cell(&cell, circ, cell_direction, cpath_layer, + stream_id) < 0) { log_warn(LD_BUG,"circuit_package_relay_cell failed. Closing."); circuit_mark_for_close(circ, END_CIRC_REASON_INTERNAL); return -1; |