Fix a missing stream_id argument; found by "tracktor"

This commit is contained in:
Nick Mathewson 2010-09-03 10:26:50 -04:00
parent f89323afda
commit 296a7d8388

View File

@ -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) if (circuit_package_relay_cell(&cell, circ, cell_direction, cpath_layer,
< 0) { stream_id) < 0) {
log_warn(LD_BUG,"circuit_package_relay_cell failed. Closing."); log_warn(LD_BUG,"circuit_package_relay_cell failed. Closing.");
circuit_mark_for_close(circ, END_CIRC_REASON_INTERNAL); circuit_mark_for_close(circ, END_CIRC_REASON_INTERNAL);
return -1; return -1;