mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
set the "addr" field in the dir_handle_get tests, to resolve bug warnings.
This commit is contained in:
parent
ab4485e281
commit
bee5f38e39
@ -73,6 +73,7 @@ static dir_connection_t *
|
||||
new_dir_conn(void)
|
||||
{
|
||||
dir_connection_t *conn = dir_connection_new(AF_INET);
|
||||
tor_addr_from_ipv4h(&conn->base_.addr, 0x7f000001);
|
||||
return conn;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user