diff options
author | David Goulet <dgoulet@torproject.org> | 2017-11-10 09:08:05 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-12-05 19:39:46 -0500 |
commit | 242ddc85c874cafdc3513725f9357028b72eb9f8 (patch) | |
tree | ebf67983a128acb237c84b63b3efccb33b999cf1 /src/or/rendclient.c | |
parent | 4633a93ca841c36e9c36ae31bc6745c47f85767e (diff) | |
download | tor-242ddc85c874cafdc3513725f9357028b72eb9f8.tar.gz tor-242ddc85c874cafdc3513725f9357028b72eb9f8.zip |
control: Refactor HS_DESC events functions to not be v2 specific
This is a naming refactor mostly _except_ for a the events' function that take
a rend_data_t which will require much more refactoring.
No behavior change at this commit, cleanup and renaming stuff to not be only
v2 specific.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r-- | src/or/rendclient.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c index 3274819241..32a285457e 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -515,7 +515,8 @@ directory_get_from_hs_dir(const char *desc_id, (rend_data->auth_type == REND_NO_AUTH ? "[none]" : escaped_safe_str_client(descriptor_cookie_base64)), routerstatus_describe(hs_dir)); - control_event_hs_descriptor_requested(rend_query, + control_event_hs_descriptor_requested(rend_data->onion_address, + rend_data->auth_type, hs_dir->identity_digest, desc_id_base32); return 1; |