From: Nick Mathewson Date: Wed, 7 Sep 2016 18:30:51 +0000 (-0400) Subject: set the "addr" field in the dir_handle_get tests, to resolve bug warnings. X-Git-Tag: tor-0.2.9.3-alpha~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bee5f38e39243dc229f4067b170ed355f40108cf;p=thirdparty%2Ftor.git set the "addr" field in the dir_handle_get tests, to resolve bug warnings. --- diff --git a/src/test/test_dir_handle_get.c b/src/test/test_dir_handle_get.c index ce34e48543..a0f22f1f0c 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; }