From 6fbf624b50415371061f04e41b993a051c98fc37 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Tue, 7 Apr 2020 13:17:21 -0400 Subject: [PATCH] hs-v3: Fix typo in log info when PublishHidServDescriptors is set to 0 Fixes #33779 Signed-off-by: David Goulet --- changes/ticket33779 | 3 +++ src/feature/hs/hs_service.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 changes/ticket33779 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; }