X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Fsl.c;h=d991ab3ce539424d2ffa07c558f23b98f4b6d59f;hb=bde83ad58d800ae004caccab6531234272181da2;hp=e023cdb728a2df691409e7edb972cc5f16ac298b;hpb=84ab93cfdcac04c7c0511ef70eb6242cb78671a4;p=debian%2Famanda diff --git a/common-src/sl.c b/common-src/sl.c index e023cdb..d991ab3 100644 --- a/common-src/sl.c +++ b/common-src/sl.c @@ -25,7 +25,7 @@ * University of Maryland at College Park */ /* - * $Id: sl.c,v 1.1.2.2.2.1 2004/04/23 11:44:51 martinea Exp $ + * $Id: sl.c,v 1.1.2.2.2.2 2005/09/30 19:01:53 martinea Exp $ * * A doubly linked list of string (char *) */ @@ -107,7 +107,7 @@ char *name; sl = new_sl(); } - for(b=sl->first; b != NULL < 0; b=b->next) { + for(b=sl->first; b != NULL; b=b->next) { int i = strcmp(b->name, name); if(i==0) return(sl); /* already there, no need to insert */ if(i>0) break;