aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/test.c b/src/or/test.c
index a8b4d90b1..81d868f17 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -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("");