From e588ac9f8bdb70ab39e6ddbd11412b114de799cb Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Fri, 15 Mar 2002 19:15:31 +0000 Subject: [PATCH] Added nopper code to fullmailscan --- ChangeLog | 1 + mbfido/scan.c | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4d343806..bfb02f89 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/mbfido/scan.c b/mbfido/scan.c index b2343bcc..6a8965f2 100644 --- a/mbfido/scan.c +++ b/mbfido/scan.c @@ -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);