Rebuild: Initialize max/min email number.

This commit is contained in:
Bobbi Webber-Manners 2021-11-12 16:56:22 -05:00
parent 52f6b664e4
commit 44c46943b0
2 changed files with 4 additions and 1 deletions

View File

@ -6,7 +6,7 @@
#include <stdint.h>
#define PROGNAME "emai//er v2.1.8"
#define PROGNAME "emai//er v2.1.9"
// Configuration params from EMAIL.CFG
char cfg_server[40]; // IP of POP3 server

View File

@ -163,6 +163,9 @@ void repair_mailbox(void) {
}
fclose(fp);
maxemailnum = 0;
minemailnum = 65535;
printf("** Scanning directory %s\n", dirname);
while (d = readdir(dp)) {