Don't complain if reading an extended nodelist line fails

This commit is contained in:
Michiel Broek 2007-07-09 18:43:52 +00:00
parent 6357b370c6
commit 9b3a2e4d07
2 changed files with 5 additions and 1 deletions

View File

@ -6,6 +6,10 @@ v0.91.9 16-May-2007
general: general:
Fixed building on FreeBSD, tested on 5.3 Fixed building on FreeBSD, tested on 5.3
libnodelist:
Don't complain if attempt to read an extended nodelist line
fails.
mbsebbs: mbsebbs:
Fixed upload crash when a FILE_ID.DIZ is found but the bbs is Fixed upload crash when a FILE_ID.DIZ is found but the bbs is
not allowed to open for reading. not allowed to open for reading.

View File

@ -908,7 +908,7 @@ node *getnlent(faddr *addr)
*/ */
while (TRUE) { while (TRUE) {
if (fgets(ebuf, sizeof(ebuf)-1, fp) == NULL) { if (fgets(ebuf, sizeof(ebuf)-1, fp) == NULL) {
WriteError("$fgets failed for nodelist entry"); // WriteError("$fgets failed for nodelist entry"); Errors are allowed here.
break; break;
} }
/* /*