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,
if (length == 2)
{
elt = list->next;
if (cmp (list->name, list->data, elt->name, elt->data, cmp) > 0)
if (cmp (list->name, list->data, elt->name, elt->data, data) > 0)
{
elt->next = list;
list->next = NULL;
......