Fix for mbfido news

This commit is contained in:
Michiel Broek
2004-04-14 19:27:56 +00:00
parent e802e19058
commit b21dda8071
2 changed files with 3 additions and 1 deletions

View File

@@ -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;