diff options
author | David Goulet <dgoulet@torproject.org> | 2016-11-15 15:09:27 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-01-18 16:58:54 -0500 |
commit | 50cfc9834094acf33bd5afff6a2a36f7f17e70e0 (patch) | |
tree | d9505ce3462b861efd67fcbc9554e667af922366 /src/or/relay.c | |
parent | 5208085be1deff4711b634b108052970aed6a127 (diff) | |
download | tor-50cfc9834094acf33bd5afff6a2a36f7f17e70e0.tar.gz tor-50cfc9834094acf33bd5afff6a2a36f7f17e70e0.zip |
prop224: Add unit tests for INTRODUCE1 support
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/relay.c')
-rw-r--r-- | src/or/relay.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index 8d48239e47..2e76a8ec36 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -595,11 +595,11 @@ relay_command_to_string(uint8_t command) * If you can't send the cell, mark the circuit for close and return -1. Else * return 0. */ -int -relay_send_command_from_edge_(streamid_t stream_id, circuit_t *circ, - uint8_t relay_command, const char *payload, - size_t payload_len, crypt_path_t *cpath_layer, - const char *filename, int lineno) +MOCK_IMPL(int, +relay_send_command_from_edge_,(streamid_t stream_id, circuit_t *circ, + uint8_t relay_command, const char *payload, + size_t payload_len, crypt_path_t *cpath_layer, + const char *filename, int lineno)) { cell_t cell; relay_header_t rh; |