summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2009-04-01 13:02:04 +0000
committerRoger Dingledine <arma@torproject.org>2009-04-01 13:02:04 +0000
commitee58153b501ceec665f9ce0acaf8ca993aca443a (patch)
treed0cb0b4ece6e04174db4f06dc9498e09249ddf9a /src/or/router.c
parentb4ceb830e08558cfb4058731f22d79e33bc86845 (diff)
downloadtor-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/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index ec33eb5905..eda0fc31a9 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -560,7 +560,7 @@ init_keys(void)
log_err(LD_GENERAL,"Generated a routerinfo we couldn't parse.");
return -1;
}
- if (!WRA_WAS_ADDED(dirserv_add_descriptor(ri, &m))) {
+ if (!WRA_WAS_ADDED(dirserv_add_descriptor(ri, &m, "self"))) {
log_err(LD_GENERAL,"Unable to add own descriptor to directory: %s",
m?m:"<unknown error>");
return -1;