summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Varshavchik2014-06-19 07:45:49 -0400
committerSam Varshavchik2014-06-19 07:45:49 -0400
commitcc76f872c7aa801c7c3397d54b5f6c9f542a53f5 (patch)
tree2b8b1592f81293ca00078ce188af7a027b9240fa
parent8f3ed494650eac351a8eadb1af08f309b89dfb2d (diff)
downloadcourier-libs-cc76f872c7aa801c7c3397d54b5f6c9f542a53f5.tar.bz2
mailbot: do not compare filenames of draft messages, check their timestamp.
-rw-r--r--maildrop/mailbot.c8
1 files changed, 0 insertions, 8 deletions
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)
{