mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
Warn about actual offending hiddenservice* config option, now that more than one is possible. Closes bug 239.
svn:r5766
This commit is contained in:
parent
2fda7140e8
commit
e1d1ce3da8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user