Update config entries pointer to the new beginning of the list after sorting
This commit is contained in:
parent
9214f6079f
commit
9da261c6d9
|
@ -999,6 +999,7 @@ void config_file_dump(config_file_t *conf, FILE *file)
|
||||||
}
|
}
|
||||||
|
|
||||||
list = merge_sort_linked_list((struct config_entry_list*)conf->entries, config_sort_compare_func);
|
list = merge_sort_linked_list((struct config_entry_list*)conf->entries, config_sort_compare_func);
|
||||||
|
conf->entries = list;
|
||||||
|
|
||||||
while (list)
|
while (list)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue