Commit c010cf73 c010cf73e93cbd46a89ef3a6e76a836974bb736b by Sergey Poznyakoff

Bugfix

* libmailutils/base/assoc.c (merge_sort): Fix last argument in call to cmp.
1 parent 5a4ca213
...@@ -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;
......