Преглед изворни кода

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

Nick Mathewson пре 7 година
родитељ
комит
bee5f38e39
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/test/test_dir_handle_get.c

+ 1 - 0
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;
 }