summaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorDavid Fifield <david@bamsoftware.com>2012-10-06 20:30:58 -0700
committerNick Mathewson <nickm@torproject.org>2012-10-10 22:25:29 -0400
commit34c6ee7e9b62ffb4ef62c7195f6e69db084172df (patch)
treed1ade6fc92990da791547f813bd369becffdc004 /src/or/rendservice.c
parentec97319464aab204740acb013b504abb0e13d989 (diff)
downloadtor-34c6ee7e9b62ffb4ef62c7195f6e69db084172df.tar.gz
tor-34c6ee7e9b62ffb4ef62c7195f6e69db084172df.zip
Use fmt_and_decorate_addr in log messages.
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 0fa04b63fe..6cae4bc881 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -273,7 +273,8 @@ rend_add_service(rend_service_t *service)
for (i = 0; i < smartlist_len(service->ports); ++i) {
p = smartlist_get(service->ports, i);
log_debug(LD_REND,"Service maps port %d to %s:%d",
- p->virtual_port, fmt_addr(&p->real_addr), p->real_port);
+ p->virtual_port, fmt_and_decorate_addr(&p->real_addr),
+ p->real_port);
}
}
}