hs-v3: Fix typo in log info when PublishHidServDescriptors is set to 0

Fixes #33779

Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
David Goulet 2020-04-07 13:17:21 -04:00
parent 065ccda4f6
commit 6fbf624b50
2 changed files with 4 additions and 1 deletions

3
changes/ticket33779 Normal file
View File

@ -0,0 +1,3 @@
o Minor bugfixes (onion service, logging):
- Typo in a log info level when PublishHidServDescriptors is set to 0.
Fixes bug 33779; bugfix on 0.3.2.1-alpha.

View File

@ -2846,7 +2846,7 @@ upload_descriptor_to_hsdir(const hs_service_t *service,
/* Let's avoid doing that if tor is configured to not publish. */
if (!get_options()->PublishHidServDescriptors) {
log_info(LD_REND, "Service %s not publishing descriptor. "
"PublishHidServDescriptors is set to 1.",
"PublishHidServDescriptors is set to 0.",
safe_str_client(service->onion_address));
goto end;
}