aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2020-04-07 13:17:21 -0400
committerDavid Goulet <dgoulet@torproject.org>2020-04-07 13:17:21 -0400
commit6fbf624b50415371061f04e41b993a051c98fc37 (patch)
tree06922934853b0624ac214c00d2ed504408314b00
parent065ccda4f67023c752162227c77b0e1319e30b85 (diff)
downloadtor-6fbf624b50415371061f04e41b993a051c98fc37.tar.gz
tor-6fbf624b50415371061f04e41b993a051c98fc37.zip
hs-v3: Fix typo in log info when PublishHidServDescriptors is set to 0
Fixes #33779 Signed-off-by: David Goulet <dgoulet@torproject.org>
-rw-r--r--changes/ticket337793
-rw-r--r--src/feature/hs/hs_service.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/changes/ticket33779 b/changes/ticket33779
new file mode 100644
index 0000000000..d4bc769ebb
--- /dev/null
+++ b/changes/ticket33779
@@ -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.
diff --git a/src/feature/hs/hs_service.c b/src/feature/hs/hs_service.c
index 53e33f80ea..5b8f661832 100644
--- a/src/feature/hs/hs_service.c
+++ b/src/feature/hs/hs_service.c
@@ -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;
}