[tor-commits] [tor/master] Clarify the function documentation for rend_get_service_list_mutable

nickm at torproject.org nickm at torproject.org
Sat Dec 3 03:42:45 UTC 2016


commit 0446188674f0a25dd00c99810cc53b02710140e8
Author: teor <teor2345 at gmail.com>
Date:   Sat Dec 3 08:23:01 2016 +1100

    Clarify the function documentation for rend_get_service_list_mutable
    
    Comment-only change
---
 src/or/rendservice.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 457c2a0..cd63a49 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -145,7 +145,7 @@ rend_get_service_list(const smartlist_t* substitute_service_list)
  * If substitute_service_list is not NULL, return it.
  * Otherwise, check if the global rend_service_list is non-NULL, and if so,
  * return it.
- * Otherwise, return NULL.
+ * Otherwise, log a BUG message and return NULL.
  * */
 static smartlist_t*
 rend_get_service_list_mutable(smartlist_t* substitute_service_list)





More information about the tor-commits mailing list