commit 23b878b875d7feab195be0e856da4aa3f5ac2e15 Author: Ivan Markin twim@riseup.net Date: Mon Oct 17 16:06:36 2016 +0000
Do assert when calling relay_send_command_from_edge() on OR-side circs --- src/or/relay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/or/relay.c b/src/or/relay.c index 823e074..aa29cc8 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -617,7 +617,7 @@ relay_send_command_from_edge_(streamid_t stream_id, circuit_t *circ, cell.circ_id = TO_OR_CIRCUIT(circ)->p_circ_id; cell_direction = CELL_DIRECTION_IN; } else { - return -1; + tor_assert(0); }
memset(&rh, 0, sizeof(rh));
tor-commits@lists.torproject.org