summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/queue.c
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2011-11-07 11:14:11 +0000
committerEric Faurot <eric@cvs.openbsd.org>2011-11-07 11:14:11 +0000
commit2f7e438913ef43d94258d65589028eacfa4b0c6d (patch)
tree84cf1fd5908b6867a9577350a524c7a374d0c8b4 /usr.sbin/smtpd/queue.c
parente30baf630d6c7222afb76ecf9ac7cf60dc2f6de6 (diff)
Let the smtpd process handle the enqueueing of offline messages at
startup, rather than playing tricks with the runner. This will allow further simplifications and improvements in the runner/queue. ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/queue.c')
-rw-r--r--usr.sbin/smtpd/queue.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/smtpd/queue.c b/usr.sbin/smtpd/queue.c
index c041225b4a9..9d18574c42f 100644
--- a/usr.sbin/smtpd/queue.c
+++ b/usr.sbin/smtpd/queue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: queue.c,v 1.109 2011/10/26 20:47:31 gilles Exp $ */
+/* $OpenBSD: queue.c,v 1.110 2011/11/07 11:14:10 eric Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -196,10 +196,6 @@ queue_imsg(struct imsgev *iev, struct imsg *imsg)
if (iev->proc == PROC_PARENT) {
switch (imsg->hdr.type) {
- case IMSG_PARENT_ENQUEUE_OFFLINE:
- queue_pass_to_runner(iev, imsg);
- return;
-
case IMSG_CTL_VERBOSE:
log_verbose(*(int *)imsg->data);
queue_pass_to_runner(iev, imsg);