Bugfix
* libmailutils/base/assoc.c (merge_sort): Fix last argument in call to cmp.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -740,7 +740,7 @@ merge_sort (struct _mu_assoc_elem *list, size_t length, | ... | @@ -740,7 +740,7 @@ merge_sort (struct _mu_assoc_elem *list, size_t length, |
740 | if (length == 2) | 740 | if (length == 2) |
741 | { | 741 | { |
742 | elt = list->next; | 742 | elt = list->next; |
743 | if (cmp (list->name, list->data, elt->name, elt->data, cmp) > 0) | 743 | if (cmp (list->name, list->data, elt->name, elt->data, data) > 0) |
744 | { | 744 | { |
745 | elt->next = list; | 745 | elt->next = list; |
746 | list->next = NULL; | 746 | list->next = NULL; | ... | ... |
-
Please register or sign in to post a comment