Fix for mbfido news
This commit is contained in:
parent
e802e19058
commit
b21dda8071
@ -21,6 +21,7 @@ v0.51.4 11-Apr-2004
|
|||||||
the remote newsserver.
|
the remote newsserver.
|
||||||
You may need to edit or remove /opt/mbse/tmp/newsout to remove
|
You may need to edit or remove /opt/mbse/tmp/newsout to remove
|
||||||
postings for the remote newsserver with echomail messages.
|
postings for the remote newsserver with echomail messages.
|
||||||
|
Fixed a bug that no news was fetched at all.
|
||||||
|
|
||||||
mbnntp:
|
mbnntp:
|
||||||
New program, news server to read echomail with a news client.
|
New program, news server to read echomail with a news client.
|
||||||
|
@ -205,7 +205,8 @@ void ScanNews(void)
|
|||||||
|
|
||||||
while (fread(&Msgs, Msgshdr.recsize, 1, pAreas) == 1) {
|
while (fread(&Msgs, Msgshdr.recsize, 1, pAreas) == 1) {
|
||||||
fseek(pAreas, Msgshdr.syssize, SEEK_CUR);
|
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")) {
|
if (IsSema((char *)"upsalarm")) {
|
||||||
Syslog('+', "Detected upsalarm semafore, aborting newsscan");
|
Syslog('+', "Detected upsalarm semafore, aborting newsscan");
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user