Warn about actual offending hiddenservice* config option, now that more than one is possible. Closes bug 239.

svn:r5766
This commit is contained in:
Nick Mathewson 2006-01-10 19:28:31 +00:00
parent 2fda7140e8
commit e1d1ce3da8

View File

@ -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;
}