[tor-commits] [tor/master] Fix a comment typo in smartlist_get_most_frequent_()
nickm at torproject.org
nickm at torproject.org
Tue Sep 6 14:09:04 UTC 2016
commit 41ad244dd6bdda4cd49f0e7da46e56724c07cf6a
Author: teor (Tim Wilson-Brown) <teor2345 at gmail.com>
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,
More information about the tor-commits
mailing list