aboutsummaryrefslogtreecommitdiff
path: root/src/or/hs_descriptor.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-08-04 22:02:28 +0300
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:34 -0400
commitc62da5cf95de0958d28d2dfd8cdc66cf11498ebe (patch)
tree22ee0284768e83db9055da7f38f7be7eb1877dec /src/or/hs_descriptor.c
parent4ad4467fa13a0e6333fa0016a63060d5b9dd9715 (diff)
downloadtor-c62da5cf95de0958d28d2dfd8cdc66cf11498ebe.tar.gz
tor-c62da5cf95de0958d28d2dfd8cdc66cf11498ebe.zip
Improve code based on Nick review:
- Fix some more crazy ternary ops. - Fix the order of disaster SRV computation. - Whitespace fixes. - Remove a redundant warn. - Better docs.
Diffstat (limited to 'src/or/hs_descriptor.c')
-rw-r--r--src/or/hs_descriptor.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/hs_descriptor.c b/src/or/hs_descriptor.c
index 430e2f6f99..0b10f205a5 100644
--- a/src/or/hs_descriptor.c
+++ b/src/or/hs_descriptor.c
@@ -1007,7 +1007,6 @@ desc_encode_v3(const hs_descriptor_t *desc,
tor_assert(desc->plaintext_data.version == 3);
if (BUG(desc->subcredential == NULL)) {
- log_warn(LD_GENERAL, "Asked to encode desc with no subcred. No!");
goto err;
}