aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-11-09 11:04:40 -0500
committerNick Mathewson <nickm@torproject.org>2011-11-09 11:04:40 -0500
commitf0589da0e3270e627ac6fd249976234a4c085d3f (patch)
tree017bef7fbe0ae7c715c246ae22d74f801ae76c8a /src/or/rendservice.c
parent9452b65680deee698dbc8c4eae929aba3b75b198 (diff)
parent8adec8705014ef7e788a1dcf5d3a4a2d85a328ed (diff)
downloadtor-f0589da0e3270e627ac6fd249976234a4c085d3f.tar
tor-f0589da0e3270e627ac6fd249976234a4c085d3f.tar.gz
Merge remote-tracking branch 'origin/maint-0.2.2'
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index d582d71f6..620ce0be8 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -172,14 +172,17 @@ rend_add_service(rend_service_t *service)
if (service->auth_type != REND_NO_AUTH &&
smartlist_len(service->clients) == 0) {
- log_warn(LD_CONFIG, "Hidden service with client authorization but no "
- "clients; ignoring.");
+ log_warn(LD_CONFIG, "Hidden service (%s) with client authorization but no "
+ "clients; ignoring.",
+ esc_for_log(service->directory));
rend_service_free(service);
return;
}
if (!smartlist_len(service->ports)) {
- log_warn(LD_CONFIG, "Hidden service with no ports configured; ignoring.");
+ log_warn(LD_CONFIG, "Hidden service (%s) with no ports configured; "
+ "ignoring.",
+ esc_for_log(service->directory));
rend_service_free(service);
} else {
int dupe = 0;