diff options
author | Nigel Metheringham <nigel@exim.org> | 2009-10-30 15:08:25 +0000 |
---|---|---|
committer | Nigel Metheringham <nigel@exim.org> | 2009-10-30 15:08:25 +0000 |
commit | 1da77999df7a8f5a91859eb43e4e806e3c50236d (patch) | |
tree | 8c2f322a5e3d4e0d31b6181f284a107df339ad99 /src | |
parent | c2b89b988a4d2713e101a4a299f6cd87ee1905d7 (diff) |
Further fix to maildirsize. Fixes: #727
Diffstat (limited to 'src')
-rw-r--r-- | src/src/transports/tf_maildir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/src/transports/tf_maildir.c b/src/src/transports/tf_maildir.c index 98862cc90..06b27ff4a 100644 --- a/src/src/transports/tf_maildir.c +++ b/src/src/transports/tf_maildir.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/transports/tf_maildir.c,v 1.12 2009/10/19 12:42:13 nm4 Exp $ */ +/* $Cambridge: exim/src/src/transports/tf_maildir.c,v 1.13 2009/10/30 15:08:25 nm4 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -559,7 +559,7 @@ else tempname = string_sprintf("%s/tmp/%lu.H%luP%lu.%s", path, tv.tv_sec, tv.tv_usec, getpid(), primary_hostname); - fd = Uopen(tempname, O_RDWR|O_CREAT|O_EXCL, 0600); + fd = Uopen(tempname, O_RDWR|O_CREAT|O_EXCL, ob->mode ? ob->mode : 0600); if (fd >= 0) { (void)sprintf(CS buffer, OFF_T_FMT "S,%dC\n" OFF_T_FMT " %d\n", |