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 23d25209c92..eb6f500be7c 100644
--- a/usr.sbin/smtpd/queue.c
+++ b/usr.sbin/smtpd/queue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: queue.c,v 1.27 2008/12/14 19:20:59 jacekm Exp $ */
+/* $OpenBSD: queue.c,v 1.28 2008/12/14 19:24:42 jacekm Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -997,7 +997,7 @@ queue_record_envelope(struct message *messagep)
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;
u_int16_t hval;