One more warning to suppress.

This commit is contained in:
Dianne Skoll
2020-03-19 20:24:53 -04:00
parent 19bdd6c2db
commit 4f119031a4

View File

@@ -164,7 +164,7 @@ int DBufGets(DynamicBuffer *dbuf, FILE *fp)
while(busy) {
*tmp = 0;
fgets(tmp, 256, fp);
if (fgets(tmp, 256, fp) == NULL) return OK;
if (!*tmp) return OK;
l = strlen(tmp) - 1;
if (tmp[l] == '\n') {