Skip to content
Snippets Groups Projects
Commit 82488121 authored by George Kadianakis's avatar George Kadianakis
Browse files

Rename handle_relay_command to handle_relay_cell_command .

As per David's review.
parent 1e970d17
No related branches found
No related tags found
No related merge requests found
......@@ -1585,7 +1585,7 @@ process_sendme_cell(const relay_header_t *rh, const cell_t *cell,
* parent function.
*/
STATIC int
handle_relay_command(cell_t *cell, circuit_t *circ,
handle_relay_cell_command(cell_t *cell, circuit_t *circ,
edge_connection_t *conn, crypt_path_t *layer_hint,
relay_header_t *rh, int optimistic_data)
{
......@@ -2033,7 +2033,7 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
}
}
return handle_relay_command(cell, circ, conn, layer_hint,
return handle_relay_cell_command(cell, circ, conn, layer_hint,
&rh, optimistic_data);
}
......
......@@ -100,7 +100,7 @@ uint8_t packed_cell_get_command(const packed_cell_t *cell, int wide_circ_ids);
#ifdef RELAY_PRIVATE
STATIC int
handle_relay_command(cell_t *cell, circuit_t *circ,
handle_relay_cell_command(cell_t *cell, circuit_t *circ,
edge_connection_t *conn, crypt_path_t *layer_hint,
relay_header_t *rh, int optimistic_data);
......
......@@ -3169,7 +3169,7 @@ test_circuitpadding_ignore_non_padding_cells(void *arg)
rh.command = RELAY_COMMAND_BEGIN;
setup_full_capture_of_logs(LOG_INFO);
retval = handle_relay_command(NULL, client_side, NULL, NULL, &rh, 0);
retval = handle_relay_cell_command(NULL, client_side, NULL, NULL, &rh, 0);
tt_int_op(retval, OP_EQ, 0);
expect_log_msg_containing("Ignored cell");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment