diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-09-07 14:30:51 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-09-07 14:30:51 -0400 |
commit | bee5f38e39243dc229f4067b170ed355f40108cf (patch) | |
tree | 3e2fa93354d00dec712882d6ffbe1290920ad62e | |
parent | ab4485e281739772e2295acb574f73efe269647c (diff) | |
download | tor-bee5f38e39243dc229f4067b170ed355f40108cf.tar.gz tor-bee5f38e39243dc229f4067b170ed355f40108cf.zip |
set the "addr" field in the dir_handle_get tests, to resolve bug warnings.
-rw-r--r-- | src/test/test_dir_handle_get.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |