summaryrefslogtreecommitdiff
path: root/src/or/hs_cache.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-06-27 09:28:15 -0400
committerDavid Goulet <dgoulet@torproject.org>2017-08-24 13:03:28 -0400
commit79ff2e014f5726648e3f2c4a3f521ede76b8c6e2 (patch)
treebaa8fa4b5f620f9fc2d3f001393c02c060a7df8a /src/or/hs_cache.c
parentb2a820958e8389853757c3e5ad59114bd82623d4 (diff)
downloadtor-79ff2e014f5726648e3f2c4a3f521ede76b8c6e2.tar.gz
tor-79ff2e014f5726648e3f2c4a3f521ede76b8c6e2.zip
hs: Fix comment of the get max size descriptor function
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_cache.c')
-rw-r--r--src/or/hs_cache.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/or/hs_cache.c b/src/or/hs_cache.c
index 6f7bf1abd7..d93e682dc3 100644
--- a/src/or/hs_cache.c
+++ b/src/or/hs_cache.c
@@ -610,10 +610,7 @@ hs_cache_handle_oom(time_t now, size_t min_remove_bytes)
return bytes_removed;
}
-/**
- * Return the maximum size of an HS descriptor we are willing to accept as an
- * HSDir.
- */
+/* Return the maximum size of a v3 HS descriptor. */
unsigned int
hs_cache_get_max_descriptor_size(void)
{