--- projects/libstatgrab/src/libstatgrab/tools.c 2003/03/04 18:07:42 1.1 +++ projects/libstatgrab/src/libstatgrab/tools.c 2003/03/05 12:41:19 1.2 @@ -5,8 +5,7 @@ char *f_read_line(FILE *f, const char *string){ /* Max line length. 8k should be more than enough */ static char line[8192]; - while((fgets(line, sizeof(line), f))==NULL){ - + while((fgets(line, sizeof(line), f))!=NULL){ if(strncmp(string, line, strlen(string))==0){ return line; }