summaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-09-27 16:08:10 +0000
committerNick Mathewson <nickm@torproject.org>2007-09-27 16:08:10 +0000
commit28946069eef5cb980a7a14b4893ee531c9ebd6cb (patch)
tree4d93909fc27230092b6b9258c73a702a0de9e30d /src/or/test.c
parentea47287575534eb58c4f3cae6c59b1095af3b92e (diff)
downloadtor-28946069eef5cb980a7a14b4893ee531c9ebd6cb.tar.gz
tor-28946069eef5cb980a7a14b4893ee531c9ebd6cb.zip
r15412@catbus: nickm | 2007-09-27 12:04:24 -0400
More annotated-store work: handle annotations in lists correctly. Add ability to prepend annotations to a routerdesc (and to every rtouredesc in a list), while verifying that the routerdesc is not already annotated. svn:r11665
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/test.c b/src/or/test.c
index f9d817d101..9c707099b2 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -2189,7 +2189,7 @@ test_dir_format(void)
test_assert(router_dump_router_to_string(buf, 2048, &r1, pk2)>0);
cp = buf;
- rp1 = router_parse_entry_from_string((const char*)cp,NULL,1,0);
+ rp1 = router_parse_entry_from_string((const char*)cp,NULL,1,0,NULL);
test_assert(rp1);
test_streq(rp1->address, r1.address);
test_eq(rp1->or_port, r1.or_port);