diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2011-10-26 20:47:32 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2011-10-26 20:47:32 +0000 |
commit | 847b44dca768ec9f28b465579b1772bc5e61e1dd (patch) | |
tree | 23aee58ba4d82d99cba9301ad28fecb8f8016ad6 /usr.sbin/smtpd/queue.c | |
parent | e9500afcb6cfeba1014e881a1b7be22a505ae3a8 (diff) |
- fix smtpctl pause/resume so the ramqueue scheduling is done correctly
- rename IMSG and smtpctl pause/resume parameters
- update man page
tested by me, ok chl@, eric@
Diffstat (limited to 'usr.sbin/smtpd/queue.c')
-rw-r--r-- | usr.sbin/smtpd/queue.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/smtpd/queue.c b/usr.sbin/smtpd/queue.c index 2d19a2698b6..c041225b4a9 100644 --- a/usr.sbin/smtpd/queue.c +++ b/usr.sbin/smtpd/queue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: queue.c,v 1.108 2011/10/23 09:30:07 gilles Exp $ */ +/* $OpenBSD: queue.c,v 1.109 2011/10/26 20:47:31 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -183,10 +183,10 @@ queue_imsg(struct imsgev *iev, struct imsg *imsg) if (iev->proc == PROC_CONTROL) { switch (imsg->hdr.type) { - case IMSG_QUEUE_PAUSE_LOCAL: - case IMSG_QUEUE_PAUSE_OUTGOING: - case IMSG_QUEUE_RESUME_LOCAL: - case IMSG_QUEUE_RESUME_OUTGOING: + case IMSG_QUEUE_PAUSE_MDA: + case IMSG_QUEUE_PAUSE_MTA: + case IMSG_QUEUE_RESUME_MDA: + case IMSG_QUEUE_RESUME_MTA: case IMSG_QUEUE_SCHEDULE: case IMSG_QUEUE_REMOVE: queue_pass_to_runner(iev, imsg); |