diff options
author | David Goulet <dgoulet@torproject.org> | 2017-04-25 13:04:47 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-05-01 15:50:38 -0400 |
commit | aadb99e5f906a7b8aed8b6c0d995690699bdbfee (patch) | |
tree | 5a7bfea57f980ee7b5076f21ab0619bb8e006bc0 /src/or/control.c | |
parent | 90562fc23a7ce61f3660b507d9991a27af2eae37 (diff) | |
download | tor-aadb99e5f906a7b8aed8b6c0d995690699bdbfee.tar.gz tor-aadb99e5f906a7b8aed8b6c0d995690699bdbfee.zip |
control: Fix comment of control_event_hs_descriptor_content
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/or/control.c b/src/or/control.c index ed72d6f760..9b0d7c0007 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -7138,9 +7138,11 @@ control_event_hs_descriptor_failed(const rend_data_t *rend_data, rend_data, id_digest, reason); } -/** send HS_DESC_CONTENT event after completion of a successful fetch from - * hs directory. If <b>hsdir_id_digest</b> is NULL, it is replaced by - * "UNKNOWN". */ +/** Send HS_DESC_CONTENT event after completion of a successful fetch from hs + * directory. If <b>hsdir_id_digest</b> is NULL, it is replaced by "UNKNOWN". + * If <b>content</b> is NULL, it is replaced by an empty string. The + * <b>onion_address</b> or <b>desc_id</b> set to NULL will no trigger the + * control event. */ void control_event_hs_descriptor_content(const char *onion_address, const char *desc_id, |