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

Joel Grunbaum
2020-10-21 d3f3ee16d8adaef681afed67f236e3bb14e7cdc0
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)