Forráskód Böngészése

Clarify the function documentation for rend_get_service_list_mutable

Comment-only change
teor 8 éve
szülő
commit
0446188674
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/or/rendservice.c

+ 1 - 1
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)