diff options
| author | Sam Varshavchik | 2015-02-28 11:59:45 -0500 |
|---|---|---|
| committer | Sam Varshavchik | 2015-02-28 11:59:45 -0500 |
| commit | aab9bb42224fbb92c11eabb477282a8f0efe1c17 (patch) | |
| tree | 9c9f27f6e3755bc7bba874727ae08a0e1a5df48b /maildrop/mailbot.c | |
| parent | 3c35c22f36316dd84533a5d22f04f8b8f90b23a3 (diff) | |
| download | courier-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.c | 4 |
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]; |
