mirror of https://github.com/Chizi123/dnscomp.git

Joel Grunbaum
2020-10-21 602b64263ac7390c6c3eabf008a092cb5ca37983
slist.c
@@ -65,6 +65,8 @@
    return 0;
}
// Sort with merge sort as works well for linked lists
// Copied from https://www.geeksforgeeks.org/merge-sort-for-linked-list/
int sort_servers(struct dns_list **headRef)
{
   struct dns_list *head = *headRef;
@@ -97,7 +99,6 @@
struct dns_list *merge(struct dns_list *a, struct dns_list *b)
{
   struct dns_list *out = NULL;
   int comp;
   if (!a)
      return b;
   if (!b)