[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 0446188674f0a25dd00c99810cc53b02710140e8
Author: teor <teor2345@xxxxxxxxx>
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)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits