From 9b3a2e4d077efdbebe81f98f482707bbcea84d81 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Mon, 9 Jul 2007 18:43:52 +0000 Subject: [PATCH] Don't complain if reading an extended nodelist line fails --- ChangeLog | 4 ++++ lib/nodelist.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d00811ee..dcb44773 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,10 @@ v0.91.9 16-May-2007 general: Fixed building on FreeBSD, tested on 5.3 + libnodelist: + Don't complain if attempt to read an extended nodelist line + fails. + mbsebbs: Fixed upload crash when a FILE_ID.DIZ is found but the bbs is not allowed to open for reading. diff --git a/lib/nodelist.c b/lib/nodelist.c index 11ed4ec5..bd1e9236 100644 --- a/lib/nodelist.c +++ b/lib/nodelist.c @@ -908,7 +908,7 @@ node *getnlent(faddr *addr) */ while (TRUE) { 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; } /*