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

Joel Grunbaum
2022-05-23 ab157baf15984b6e967c3fadf9784e3a7c92fc36
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)