summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/smtpd/queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/queue.c b/usr.sbin/smtpd/queue.c
index 9bae9f79bde..23d25209c92 100644
--- a/usr.sbin/smtpd/queue.c
+++ b/usr.sbin/smtpd/queue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: queue.c,v 1.26 2008/12/14 19:16:06 jacekm Exp $ */
+/* $OpenBSD: queue.c,v 1.27 2008/12/14 19:20:59 jacekm Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -846,7 +846,7 @@ queue_record_incoming_envelope(struct message *message)
char evpname[MAXPATHLEN];
char message_uid[MAXPATHLEN];
int fd;
- int mode = O_CREAT|O_TRUNC|O_WRONLY|O_EXCL|O_SYNC;
+ int mode = O_CREAT|O_WRONLY|O_EXCL|O_SYNC;
FILE *fp;
int ret;