[tor-commits] [tor/master] hs: Fix comment of the get max size descriptor function

nickm at torproject.org nickm at torproject.org
Thu Aug 24 19:13:51 UTC 2017


commit 79ff2e014f5726648e3f2c4a3f521ede76b8c6e2
Author: David Goulet <dgoulet at torproject.org>
Date:   Tue Jun 27 09:28:15 2017 -0400

    hs: Fix comment of the get max size descriptor function
    
    Signed-off-by: David Goulet <dgoulet at torproject.org>
---
 src/or/hs_cache.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/or/hs_cache.c b/src/or/hs_cache.c
index 6f7bf1abd..d93e682dc 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)
 {





More information about the tor-commits mailing list