From cc76f872c7aa801c7c3397d54b5f6c9f542a53f5 Mon Sep 17 00:00:00 2001 From: Sam Varshavchik Date: Thu, 19 Jun 2014 07:45:49 -0400 Subject: mailbot: do not compare filenames of draft messages, check their timestamp. --- maildrop/mailbot.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'maildrop/mailbot.c') diff --git a/maildrop/mailbot.c b/maildrop/mailbot.c index 2ae29d3..0c41cec 100644 --- a/maildrop/mailbot.c +++ b/maildrop/mailbot.c @@ -610,14 +610,6 @@ FILE *find_draft(const char *maildirfolder) if (MAILDIR_DELETED(filename)) continue; - /* - ** 1st maildir filename component should be creation - ** time_t, take advantage of that. - */ - - if (draftfile && atol(draftfile) > atol(filename)) - continue; - filenamebuf=malloc(strlen(dirbuf)+strlen(filename)+2); if (!filenamebuf) { -- cgit v1.2.3