Added nopper code to fullmailscan
This commit is contained in:
parent
dfa5a340a7
commit
e588ac9f8b
@ -4660,6 +4660,7 @@ v0.33.20 10-Feb-2002
|
|||||||
Experimental patch in mkftnhdr to create a To address in news
|
Experimental patch in mkftnhdr to create a To address in news
|
||||||
articles where a Reply-To: header is present.
|
articles where a Reply-To: header is present.
|
||||||
It was not possible to disconnect file areas.
|
It was not possible to disconnect file areas.
|
||||||
|
Added nopper code to full mailscan.
|
||||||
|
|
||||||
mball:
|
mball:
|
||||||
Will not crash anymore when it needs more then 10 minutes to
|
Will not crash anymore when it needs more then 10 minutes to
|
||||||
|
@ -98,6 +98,7 @@ void ScanMail(int DoAll)
|
|||||||
Syslog('+', "Export message %lu from %s", msg, path);
|
Syslog('+', "Export message %lu from %s", msg, path);
|
||||||
ScanOne(path, msg);
|
ScanOne(path, msg);
|
||||||
i++;
|
i++;
|
||||||
|
Nopper();
|
||||||
}
|
}
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
unlink(Fname);
|
unlink(Fname);
|
||||||
@ -111,6 +112,7 @@ void ScanMail(int DoAll)
|
|||||||
Syslog('+', "Export message %lu from %s", msg, path);
|
Syslog('+', "Export message %lu from %s", msg, path);
|
||||||
ScanOne(path, msg);
|
ScanOne(path, msg);
|
||||||
i++;
|
i++;
|
||||||
|
Nopper();
|
||||||
}
|
}
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
unlink(Fname);
|
unlink(Fname);
|
||||||
@ -161,6 +163,8 @@ void ScanFull()
|
|||||||
|
|
||||||
while (fread(&usrconfig, usrconfighdr.recsize, 1, pAreas) == 1) {
|
while (fread(&usrconfig, usrconfighdr.recsize, 1, pAreas) == 1) {
|
||||||
if (usrconfig.Email && strlen(usrconfig.Name)) {
|
if (usrconfig.Email && strlen(usrconfig.Name)) {
|
||||||
|
|
||||||
|
Nopper();
|
||||||
if (!do_quiet) {
|
if (!do_quiet) {
|
||||||
colour(3, 0);
|
colour(3, 0);
|
||||||
printf("\r%8s %-40s", usrconfig.Name, usrconfig.sUserName);
|
printf("\r%8s %-40s", usrconfig.Name, usrconfig.sUserName);
|
||||||
@ -221,6 +225,8 @@ void ScanFull()
|
|||||||
arearec++;
|
arearec++;
|
||||||
|
|
||||||
if ((msgs.Active) && (msgs.Type == ECHOMAIL || msgs.Type == NETMAIL || msgs.Type == NEWS)) {
|
if ((msgs.Active) && (msgs.Type == ECHOMAIL || msgs.Type == NETMAIL || msgs.Type == NEWS)) {
|
||||||
|
|
||||||
|
Nopper();
|
||||||
if (!do_quiet) {
|
if (!do_quiet) {
|
||||||
colour(3, 0);
|
colour(3, 0);
|
||||||
printf("\r%5ld .. %-40s", arearec, msgs.Name);
|
printf("\r%5ld .. %-40s", arearec, msgs.Name);
|
||||||
|
Reference in New Issue
Block a user