[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] hs-v3: Fix typo in log info when PublishHidServDescriptors is set to 0



commit 6fbf624b50415371061f04e41b993a051c98fc37
Author: David Goulet <dgoulet@xxxxxxxxxxxxxx>
Date:   Tue Apr 7 13:17:21 2020 -0400

    hs-v3: Fix typo in log info when PublishHidServDescriptors is set to 0
    
    Fixes #33779
    
    Signed-off-by: David Goulet <dgoulet@xxxxxxxxxxxxxx>
---
 changes/ticket33779         | 3 +++
 src/feature/hs/hs_service.c | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/changes/ticket33779 b/changes/ticket33779
new file mode 100644
index 000000000..d4bc769eb
--- /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 53e33f80e..5b8f66183 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;
   }



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits