diff options
author | Ivan Markin <twim@riseup.net> | 2016-10-17 16:06:36 +0000 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2016-10-27 10:19:06 -0400 |
commit | 23b878b875d7feab195be0e856da4aa3f5ac2e15 (patch) | |
tree | d3d44a69a92147b215c99c7ed3ef99aa7662bfb8 /src | |
parent | 2d049469602f5e6efbe8f1ded0cbcd3aa957f3eb (diff) | |
download | tor-23b878b875d7feab195be0e856da4aa3f5ac2e15.tar.gz tor-23b878b875d7feab195be0e856da4aa3f5ac2e15.zip |
Do assert when calling relay_send_command_from_edge() on OR-side circs
Diffstat (limited to 'src')
-rw-r--r-- | src/or/relay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index 823e0743bd..aa29cc805e 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)); |