]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Clarify the function documentation for rend_get_service_list_mutable
authorteor <teor2345@gmail.com>
Fri, 2 Dec 2016 21:23:01 +0000 (08:23 +1100)
committerteor <teor2345@gmail.com>
Fri, 2 Dec 2016 21:23:01 +0000 (08:23 +1100)
Comment-only change

src/or/rendservice.c

index 457c2a02a9245e0045df8d9b65088d839c6dcbed..cd63a496da05b684b75498e2d15146f1feb26b49 100644 (file)
@@ -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)