mirror of
https://github.com/bobbimanners/emailler.git
synced 2025-02-21 16:29:06 +00:00
rebuild.c marks messages as read when rebuilding EMAIL.DB
This commit is contained in:
parent
9ba05ef98b
commit
dd2e545c4a
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user