[tor/master] set the "addr" field in the dir_handle_get tests, to resolve bug warnings.

7 Sep
2016
7 Sep
'16
6:30 p.m.
commit bee5f38e39243dc229f4067b170ed355f40108cf Author: Nick Mathewson <nickm@torproject.org> Date: Wed Sep 7 14:30:51 2016 -0400 set the "addr" field in the dir_handle_get tests, to resolve bug warnings. --- src/test/test_dir_handle_get.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/test_dir_handle_get.c b/src/test/test_dir_handle_get.c index ce34e48..a0f22f1 100644 --- a/src/test/test_dir_handle_get.c +++ b/src/test/test_dir_handle_get.c @@ -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; }
3196
Age (days ago)
3196
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org