Fix a style bug

This commit is contained in:
Kevin Lo 2012-01-13 06:56:59 +00:00
parent a3a2bf4b67
commit 533e5d6df3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=230045
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ gwkludge(void)
}
for (lnum = 1; ; lnum++) {
if (0 == fgets(lbuf, sizeof(lbuf), fp))
if (fgets(lbuf, sizeof(lbuf), fp) == NULL)
break;
lptr = lbuf;
while (*lptr == ' ')