Browse Source

Fix a comment typo in smartlist_get_most_frequent_()

teor (Tim Wilson-Brown) 8 years ago
parent
commit
41ad244dd6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/common/container.c

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