diff --git a/ChangeLog b/ChangeLog index 001ffd48..baceafeb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -21,6 +21,7 @@ v0.51.4 11-Apr-2004 the remote newsserver. You may need to edit or remove /opt/mbse/tmp/newsout to remove postings for the remote newsserver with echomail messages. + Fixed a bug that no news was fetched at all. mbnntp: New program, news server to read echomail with a news client. diff --git a/mbfido/scannews.c b/mbfido/scannews.c index 563a5431..19a2f9d8 100644 --- a/mbfido/scannews.c +++ b/mbfido/scannews.c @@ -205,7 +205,8 @@ void ScanNews(void) while (fread(&Msgs, Msgshdr.recsize, 1, pAreas) == 1) { fseek(pAreas, Msgshdr.syssize, SEEK_CUR); - if ((Msgs.Active) && strlen(Msgs.Newsgroup) && (msgs.Type == NEWS)) { +// Syslog('m', "Check newsgroup: %s %d", Msgs.Newsgroup, Msgs.Type); + if ((Msgs.Active) && strlen(Msgs.Newsgroup) && (Msgs.Type == NEWS)) { if (IsSema((char *)"upsalarm")) { Syslog('+', "Detected upsalarm semafore, aborting newsscan"); break;