src/stringlist.c
branchsequoia
changeset 3188 cbc9da42a49e
parent 2964 4f22b5bc7b9a
child 3403 61dbe005c428
     1.1 --- a/src/stringlist.c	Sat Dec 15 17:02:43 2018 +0100
     1.2 +++ b/src/stringlist.c	Tue Dec 04 19:22:50 2018 +0100
     1.3 @@ -145,7 +145,9 @@
     1.4              found = true;
     1.5          list_curr = list_curr->next;
     1.6      }
     1.7 -     
     1.8 +    if(strcmp(list_curr->value,value)==0)
     1.9 +        found = true;
    1.10 +
    1.11      if (!found) {
    1.12          list_curr->next = new_stringlist(value);
    1.13