mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Make testing rend1_payload variables static
This fixes a clang warning.
This commit is contained in:
parent
90e8d1f58f
commit
81c4793232
@ -1370,8 +1370,8 @@ test_revision_counter_state(void *arg)
|
||||
}
|
||||
|
||||
/** Global vars used by test_rendezvous1_parsing() */
|
||||
char rend1_payload[RELAY_PAYLOAD_SIZE];
|
||||
size_t rend1_payload_len = 0;
|
||||
static char rend1_payload[RELAY_PAYLOAD_SIZE];
|
||||
static size_t rend1_payload_len = 0;
|
||||
|
||||
/** Mock for relay_send_command_from_edge() to send a RENDEZVOUS1 cell. Instead
|
||||
* of sending it to the network, instead save it to the global `rend1_payload`
|
||||
|
Loading…
Reference in New Issue
Block a user