diff options
author | David Goulet <dgoulet@torproject.org> | 2017-08-22 14:12:49 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-08-24 13:03:28 -0400 |
commit | cb462b95b7e864b71ea3dc0a6bfb76c30fb8d378 (patch) | |
tree | 7acd858d9e9fa2f1a897dcd610e3330817525c06 /src/or/hs_descriptor.c | |
parent | 61009d40d127e0435e9fd98a8daf81c50e6687f0 (diff) | |
download | tor-cb462b95b7e864b71ea3dc0a6bfb76c30fb8d378.tar.gz tor-cb462b95b7e864b71ea3dc0a6bfb76c30fb8d378.zip |
prop224: Rename hs_desc_encode_lspec()
Give it a name that shows the transition from a descriptor link spec to a
trunnel link spec.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_descriptor.c')
-rw-r--r-- | src/or/hs_descriptor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/hs_descriptor.c b/src/or/hs_descriptor.c index b9233c6d7c..af443b9955 100644 --- a/src/or/hs_descriptor.c +++ b/src/or/hs_descriptor.c @@ -331,7 +331,7 @@ encode_link_specifiers(const smartlist_t *specs) SMARTLIST_FOREACH_BEGIN(specs, const hs_desc_link_specifier_t *, spec) { - link_specifier_t *ls = hs_desc_encode_lspec(spec); + link_specifier_t *ls = hs_desc_lspec_to_trunnel(spec); if (ls) { link_specifier_list_add_spec(lslist, ls); } @@ -2538,7 +2538,7 @@ hs_descriptor_clear_intro_points(hs_descriptor_t *desc) * link specifier object that is the encoded representation of spec. Return * NULL on error. */ link_specifier_t * -hs_desc_encode_lspec(const hs_desc_link_specifier_t *spec) +hs_desc_lspec_to_trunnel(const hs_desc_link_specifier_t *spec) { tor_assert(spec); |