summaryrefslogtreecommitdiffstats
path: root/maildrop/mailbot.c
diff options
context:
space:
mode:
authorSam Varshavchik2015-02-28 11:59:45 -0500
committerSam Varshavchik2015-02-28 11:59:45 -0500
commitaab9bb42224fbb92c11eabb477282a8f0efe1c17 (patch)
tree9c9f27f6e3755bc7bba874727ae08a0e1a5df48b /maildrop/mailbot.c
parent3c35c22f36316dd84533a5d22f04f8b8f90b23a3 (diff)
downloadcourier-libs-aab9bb42224fbb92c11eabb477282a8f0efe1c17.tar.bz2
Remove clean and smudge filters from the git repo that are used to
stamp sysconftool-processed configuration file. Rename all sysconftool-processed configuration files to *.git, and use a build rule to create a stamped sysconftool file. Fix a couple of compilation warnings.
Diffstat (limited to 'maildrop/mailbot.c')
-rw-r--r--maildrop/mailbot.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/maildrop/mailbot.c b/maildrop/mailbot.c
index f87d867..f49bbd9 100644
--- a/maildrop/mailbot.c
+++ b/maildrop/mailbot.c
@@ -576,6 +576,8 @@ FILE *find_draft(const char *maildirfolder)
static const char * const newcur[2]={"new", "cur"};
int i;
+ draft_stat.st_mtime=0;
+
for (i=0; i<2; ++i)
{
char *dirbuf=malloc(strlen(maildirfolder)+10);
@@ -713,7 +715,7 @@ int main(int argc, char **argv)
perror("malloc");
exit(1);
}
-
+
f->n=argv[argn-1]+11;
f->v=argv[argn];