Added nopper code to fullmailscan

This commit is contained in:
Michiel Broek 2002-03-15 19:15:31 +00:00
parent dfa5a340a7
commit e588ac9f8b
2 changed files with 7 additions and 0 deletions

View File

@ -4660,6 +4660,7 @@ v0.33.20 10-Feb-2002
Experimental patch in mkftnhdr to create a To address in news
articles where a Reply-To: header is present.
It was not possible to disconnect file areas.
Added nopper code to full mailscan.
mball:
Will not crash anymore when it needs more then 10 minutes to

View File

@ -98,6 +98,7 @@ void ScanMail(int DoAll)
Syslog('+', "Export message %lu from %s", msg, path);
ScanOne(path, msg);
i++;
Nopper();
}
fclose(fp);
unlink(Fname);
@ -111,6 +112,7 @@ void ScanMail(int DoAll)
Syslog('+', "Export message %lu from %s", msg, path);
ScanOne(path, msg);
i++;
Nopper();
}
fclose(fp);
unlink(Fname);
@ -161,6 +163,8 @@ void ScanFull()
while (fread(&usrconfig, usrconfighdr.recsize, 1, pAreas) == 1) {
if (usrconfig.Email && strlen(usrconfig.Name)) {
Nopper();
if (!do_quiet) {
colour(3, 0);
printf("\r%8s %-40s", usrconfig.Name, usrconfig.sUserName);
@ -221,6 +225,8 @@ void ScanFull()
arearec++;
if ((msgs.Active) && (msgs.Type == ECHOMAIL || msgs.Type == NETMAIL || msgs.Type == NEWS)) {
Nopper();
if (!do_quiet) {
colour(3, 0);
printf("\r%5ld .. %-40s", arearec, msgs.Name);