summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-30 15:18:59 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-30 15:18:59 -0400
commit7e67a240381c76b8d18dab862256b73c72d2711f (patch)
treeed5442c3da86cc761d7d624c3c2873f70d6467e6 /src/or/directory.c
parentda7c60dcf310fb9914bfd1b84a34b440ab04900a (diff)
parent3c0d944b076aa552216ca598a6cdc50e77ad1a58 (diff)
downloadtor-7e67a240381c76b8d18dab862256b73c72d2711f.tar.gz
tor-7e67a240381c76b8d18dab862256b73c72d2711f.zip
Merge branch 'bug3045' into maint-0.2.2
Conflicts: src/or/circuitbuild.c
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index ff0a5a427b..52fec6b61a 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -525,8 +525,9 @@ directory_initiate_command_routerstatus_rend(routerstatus_t *status,
router = router_get_by_digest(status->identity_digest);
if (!router && anonymized_connection) {
- log_info(LD_DIR, "Not sending anonymized request to directory '%s'; we "
- "don't have its router descriptor.", status->nickname);
+ log_info(LD_DIR, "Not sending anonymized request to directory %s; we "
+ "don't have its router descriptor.",
+ routerstatus_describe(status));
return;
} else if (router) {
address = router->address;
@@ -539,10 +540,10 @@ directory_initiate_command_routerstatus_rend(routerstatus_t *status,
if (options->ExcludeNodes && options->StrictNodes &&
routerset_contains_routerstatus(options->ExcludeNodes, status)) {
- log_warn(LD_DIR, "Wanted to contact directory mirror '%s' for %s, but "
+ log_warn(LD_DIR, "Wanted to contact directory mirror %s for %s, but "
"it's in our ExcludedNodes list and StrictNodes is set. "
"Skipping. This choice might make your Tor not work.",
- status->nickname,
+ routerstatus_describe(status),
dir_conn_purpose_to_string(dir_purpose));
return;
}