summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-11-09 11:03:20 -0500
committerNick Mathewson <nickm@torproject.org>2011-11-09 11:03:20 -0500
commit8adec8705014ef7e788a1dcf5d3a4a2d85a328ed (patch)
tree388b887370c860fb5f8478079838a13d11de54dd /src
parent0cc7a63fc0f8e23e0dc01a36de9a369671bdd4d5 (diff)
parent565463243c4e019bfd8dff965582f02a2aa05e14 (diff)
downloadtor-8adec8705014ef7e788a1dcf5d3a4a2d85a328ed.tar.gz
tor-8adec8705014ef7e788a1dcf5d3a4a2d85a328ed.zip
Merge remote-tracking branch 'rransom-tor/bug4426' into maint-0.2.2
Diffstat (limited to 'src')
-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 0f5731912d..25695c5e68 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -171,14 +171,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;