diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-09-26 16:19:44 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-09-26 16:19:44 +0000 |
commit | 034524f4b779c0e1258cd02123b8f7184b97d071 (patch) | |
tree | 02d5576191b0a21e73f51325ffb8fb0f54bd4674 /src/or/test.c | |
parent | d87a91b82241ff81d9d5fcfaae5cf95a5c931cb9 (diff) | |
download | tor-034524f4b779c0e1258cd02123b8f7184b97d071.tar.gz tor-034524f4b779c0e1258cd02123b8f7184b97d071.zip |
r15400@catbus: nickm | 2007-09-26 12:13:12 -0400
Backend for descriptor annotations: parse annotations as keywords; only allow them to appear in the cache; do not serve them as part of the descriptor if we are a dirserver. Still need mechanism to set annotations. Still need to rename cache file.
svn:r11654
Diffstat (limited to 'src/or/test.c')
-rw-r--r-- | src/or/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/test.c b/src/or/test.c index 96578d41cb..f9d817d101 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); + rp1 = router_parse_entry_from_string((const char*)cp,NULL,1,0); test_assert(rp1); test_streq(rp1->address, r1.address); test_eq(rp1->or_port, r1.or_port); |