From e1d1ce3da83a8cb2e4e321e6dd5f03d9e3f847ba Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 10 Jan 2006 19:28:31 +0000 Subject: [PATCH] Warn about actual offending hiddenservice* config option, now that more than one is possible. Closes bug 239. svn:r5766 --- src/or/rendservice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 85da116038..520074bb48 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -237,8 +237,8 @@ rend_config_services(or_options_t *options, int validate_only) continue; } if (!service) { - warn(LD_CONFIG, "HiddenServicePort with no preceding HiddenServiceDir " - "directive."); + warn(LD_CONFIG, "%s with no preceding HiddenServiceDir directive", + line->key); rend_service_free(service); return -1; }