summaryrefslogtreecommitdiffstats
path: root/usr.sbin/smtpd/queue_null.c
diff options
context:
space:
mode:
authoreric <eric@openbsd.org>2014-07-08 15:45:32 +0000
committereric <eric@openbsd.org>2014-07-08 15:45:32 +0000
commit98f67d1688f1b9fc1ab749b00f67fbe7f50e49a3 (patch)
treef8a8e9f7be599fee14e2d5170c13cfc872a38163 /usr.sbin/smtpd/queue_null.c
parentremove dead code. these imsgs are handled in pony.c. (diff)
downloadwireguard-openbsd-98f67d1688f1b9fc1ab749b00f67fbe7f50e49a3.tar.xz
wireguard-openbsd-98f67d1688f1b9fc1ab749b00f67fbe7f50e49a3.zip
various queue improvements:
- add a "close" hook to the backend API. - improve the sync() pattern in queue_fs: only sync at commit time and not for every envelope creation - various fixes to the experimental external queue API.
Diffstat (limited to 'usr.sbin/smtpd/queue_null.c')
-rw-r--r--usr.sbin/smtpd/queue_null.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/queue_null.c b/usr.sbin/smtpd/queue_null.c
index 31f87af0371..fcc52b845bb 100644
--- a/usr.sbin/smtpd/queue_null.c
+++ b/usr.sbin/smtpd/queue_null.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: queue_null.c,v 1.4 2013/07/19 20:37:07 eric Exp $ */
+/* $OpenBSD: queue_null.c,v 1.5 2014/07/08 15:45:32 eric Exp $ */
/*
* Copyright (c) 2012 Eric Faurot <eric@openbsd.org>
@@ -104,7 +104,7 @@ queue_null_envelope_walk(uint64_t *evpid, char *buf, size_t len)
}
static int
-queue_null_init(struct passwd *pw, int server)
+queue_null_init(struct passwd *pw, int server, const char *conf)
{
queue_api_on_message_create(queue_null_message_create);
queue_api_on_message_commit(queue_null_message_commit);