set the "addr" field in the dir_handle_get tests, to resolve bug warnings.

This commit is contained in:
Nick Mathewson 2016-09-07 14:30:51 -04:00
parent ab4485e281
commit bee5f38e39

View File

@ -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;
}