[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Fix a comment typo in smartlist_get_most_frequent_()
commit 41ad244dd6bdda4cd49f0e7da46e56724c07cf6a
Author: teor (Tim Wilson-Brown) <teor2345@xxxxxxxxx>
Date: Wed Feb 10 15:20:46 2016 +1100
Fix a comment typo in smartlist_get_most_frequent_()
---
src/common/container.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/container.c b/src/common/container.c
index ddf3baf..ec59dcc 100644
--- a/src/common/container.c
+++ b/src/common/container.c
@@ -544,7 +544,7 @@ smartlist_sort(smartlist_t *sl, int (*compare)(const void **a, const void **b))
/** Given a smartlist <b>sl</b> sorted with the function <b>compare</b>,
* return the most frequent member in the list. Break ties in favor of
* later elements. If the list is empty, return NULL. If count_out is
- * non-null, set it to the most frequent member.
+ * non-null, set it to the count of the most frequent member.
*/
void *
smartlist_get_most_frequent_(const smartlist_t *sl,
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits