summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2016-02-10 15:20:46 +1100
committerteor <teor2345@gmail.com>2016-09-06 17:49:44 +1000
commit41ad244dd6bdda4cd49f0e7da46e56724c07cf6a (patch)
treed1bdf26d0db136838d67ea05fa4fe0c41c65f6d5
parent341a159ab4ec9cb0a07a6f3507c4eb5aaf83798a (diff)
downloadtor-41ad244dd6bdda4cd49f0e7da46e56724c07cf6a.tar.gz
tor-41ad244dd6bdda4cd49f0e7da46e56724c07cf6a.zip
Fix a comment typo in smartlist_get_most_frequent_()
-rw-r--r--src/common/container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/container.c b/src/common/container.c
index ddf3bafa91..ec59dccf62 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,