Commit dc428b7d dc428b7da31223bb5ea8336c663aa3e8a9b0d7b9 by Sergey Poznyakoff

(list_set_comparator): Bugfix.

1 parent e4b29948
......@@ -134,7 +134,7 @@ list_set_comparator (list_t list, list_comparator_t comp)
{
list_comparator_t old_comp;
if (list == NULL)
return EINVAL;
return NULL;
old_comp = list->comp;
list->comp = comp;
return old_comp;
......