diff options
author | Roger Dingledine <arma@torproject.org> | 2009-04-01 13:02:04 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2009-04-01 13:02:04 +0000 |
commit | ee58153b501ceec665f9ce0acaf8ca993aca443a (patch) | |
tree | d0cb0b4ece6e04174db4f06dc9498e09249ddf9a /src/or/test.c | |
parent | b4ceb830e08558cfb4058731f22d79e33bc86845 (diff) | |
download | tor-ee58153b501ceec665f9ce0acaf8ca993aca443a.tar.gz tor-ee58153b501ceec665f9ce0acaf8ca993aca443a.zip |
log more verbosely when we accept or decline a router descriptor,
to help track whether we received them when a relay operator claims
they got sent.
svn:r19213
Diffstat (limited to 'src/or/test.c')
-rw-r--r-- | src/or/test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/test.c b/src/or/test.c index ff05b1dafb..03c6013e13 100644 --- a/src/or/test.c +++ b/src/or/test.c @@ -3080,9 +3080,9 @@ test_dir_format(void) r1->cache_info.published_on = time(NULL); r2->cache_info.published_on = time(NULL)-3*60*60; test_assert(router_dump_router_to_string(buf, 2048, r1, pk2)>0); - test_eq(dirserv_add_descriptor(buf,&m), ROUTER_ADDED_NOTIFY_GENERATOR); + test_eq(dirserv_add_descriptor(buf,&m,""), ROUTER_ADDED_NOTIFY_GENERATOR); test_assert(router_dump_router_to_string(buf, 2048, r2, pk1)>0); - test_eq(dirserv_add_descriptor(buf,&m), ROUTER_ADDED_NOTIFY_GENERATOR); + test_eq(dirserv_add_descriptor(buf,&m,""), ROUTER_ADDED_NOTIFY_GENERATOR); get_options()->Nickname = tor_strdup("DirServer"); test_assert(!dirserv_dump_directory_to_string(&cp,pk3, 0)); crypto_pk_get_digest(pk3, d); |