|
@@ -611,7 +611,7 @@ test_dir_format()
|
|
|
|
|
|
test_assert(router_dump_router_to_string(buf, 2048, &r1, pk2)>0);
|
|
|
cp = buf;
|
|
|
- rp1 = router_get_entry_from_string((const char**)&cp);
|
|
|
+ rp1 = router_get_entry_from_string((const char*)cp,NULL);
|
|
|
test_assert(rp1);
|
|
|
test_streq(rp1->address, r1.address);
|
|
|
test_eq(rp1->or_port, r1.or_port);
|
|
@@ -715,6 +715,7 @@ main(int c, char**v){
|
|
|
test_onion();
|
|
|
test_onion_handshake();
|
|
|
puts("\n========================= Directory Formats ===============");
|
|
|
+ add_stream_log(LOG_DEBUG, NULL, stdout);
|
|
|
test_dir_format();
|
|
|
puts("");
|
|
|
|