rebuild.c marks messages as read when rebuilding EMAIL.DB

This commit is contained in:
Bobbi Webber-Manners 2020-07-07 20:09:15 -04:00
parent 9ba05ef98b
commit dd2e545c4a
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
// Bobbi June, July 2020
/////////////////////////////////////////////////////////////////
// - TODO: Make an EMAIL.DB rebuilder tool
// - TODO: Bug where messages get duplicated after purge??
// - TODO: Get rid of all uses of malloc(). Don't need it.
// - TODO: See TODOs further down for error handling
// - TODO: Editor for email composition functions

View File

@ -192,7 +192,7 @@ void repair_mailbox(void) {
headerchars = 0;
hdrs.emailnum = emailnum;
hdrs.skipbytes = 0; // Just in case it doesn't get set
hdrs.status = 'N';
hdrs.status = 'R';
hdrs.tag = ' ';
while ((chars = get_line(fp)) != -1) {
if (headers) {