X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Fsl.c;h=d991ab3ce539424d2ffa07c558f23b98f4b6d59f;hb=2df780bff19c457b0debb7adc29972a0bc2a5dc2;hp=e023cdb728a2df691409e7edb972cc5f16ac298b;hpb=0de2ad0a86685398621fb8ffa6990c029681bb3a;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;