diff options
author | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-03-09 11:29:53 +0000 |
---|---|---|
committer | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-03-09 11:29:53 +0000 |
commit | 3a6e9748f7da78e44e709f4ae46d09b211deb6b6 (patch) | |
tree | c33ad60dea87d0cfb2a51479a9d29a6b1f5743ed /usr.sbin/smtpd/queue_shared.c | |
parent | 827f2d9ecb9c579c3ffc69a6650cfaa1b7555300 (diff) |
add hunk that should have been included in rev. 1.12, fixes occasional
crash; ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/queue_shared.c')
-rw-r--r-- | usr.sbin/smtpd/queue_shared.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/queue_shared.c b/usr.sbin/smtpd/queue_shared.c index 2687c0a6c3c..ccee9e13363 100644 --- a/usr.sbin/smtpd/queue_shared.c +++ b/usr.sbin/smtpd/queue_shared.c @@ -1,4 +1,4 @@ -/* $OpenBSD: queue_shared.c,v 1.14 2009/02/24 12:07:47 gilles Exp $ */ +/* $OpenBSD: queue_shared.c,v 1.15 2009/03/09 11:29:52 jacekm Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -430,7 +430,7 @@ queue_update_envelope(struct message *messagep) char dest[MAXPATHLEN]; FILE *fp; - if (! bsnprintf(temp, sizeof(temp), "%s/envelope.tmp", PATH_INCOMING)) + if (! bsnprintf(temp, sizeof(temp), "%s/envelope.tmp", PATH_QUEUE)) fatalx("queue_update_envelope"); if (! bsnprintf(dest, sizeof(dest), "%s/%d/%s%s/%s", PATH_QUEUE, |