diff options
| author | 2013-10-27 18:21:07 +0000 | |
|---|---|---|
| committer | 2013-10-27 18:21:07 +0000 | |
| commit | 0d67db0c3adc6e55256ca5b638a1cdf514dc7406 (patch) | |
| tree | 83c2a465a160d25d6c76071236804f6094ad51a2 /usr.sbin/smtpd/queue_api.c | |
| parent | fix parsing of inet6 addresses when prefixed with "IPv6:" (diff) | |
| download | wireguard-openbsd-0d67db0c3adc6e55256ca5b638a1cdf514dc7406.tar.xz wireguard-openbsd-0d67db0c3adc6e55256ca5b638a1cdf514dc7406.zip | |
obvious fixes in the external queue code.
work-in-progress: not supported yet.
Diffstat (limited to 'usr.sbin/smtpd/queue_api.c')
| -rw-r--r-- | usr.sbin/smtpd/queue_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/queue_api.c b/usr.sbin/smtpd/queue_api.c index 6484c3578fa..ca5e929b742 100644 --- a/usr.sbin/smtpd/queue_api.c +++ b/usr.sbin/smtpd/queue_api.c @@ -1,4 +1,4 @@ -/* $OpenBSD: queue_api.c,v 1.2 2013/10/26 12:27:59 eric Exp $ */ +/* $OpenBSD: queue_api.c,v 1.3 2013/10/27 18:21:07 eric Exp $ */ /* * Copyright (c) 2013 Eric Faurot <eric@openbsd.org> @@ -149,6 +149,7 @@ queue_msg_dispatch(void) /* XXX needs more love */ r = -1; + snprintf(path, sizeof path, "/tmp/message.XXXXXXXXXX"); fd = mkstemp(path); if (fd == -1) { log_warn("warn: queue-api: mkstemp"); |
