diff options
author | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2008-12-13 23:19:35 +0000 |
---|---|---|
committer | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2008-12-13 23:19:35 +0000 |
commit | 3c16c6cdae24e471b60bfc15cdec42fb7a9c3a8a (patch) | |
tree | 60e9d79190439097f983e51638325b015821e86c /usr.sbin/smtpd/runner.c | |
parent | caf1cfff6a85891992305e63b4a70b68f15f3a60 (diff) |
IMSG_* namespace cleanup.
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/runner.c')
-rw-r--r-- | usr.sbin/smtpd/runner.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/smtpd/runner.c b/usr.sbin/smtpd/runner.c index 969945e556a..372f0ffcbdc 100644 --- a/usr.sbin/smtpd/runner.c +++ b/usr.sbin/smtpd/runner.c @@ -1,4 +1,4 @@ -/* $OpenBSD: runner.c,v 1.6 2008/12/11 22:59:14 gilles Exp $ */ +/* $OpenBSD: runner.c,v 1.7 2008/12/13 23:19:34 jacekm Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -309,7 +309,7 @@ runner_dispatch_lka(int sig, short event, void *p) break; switch (imsg.hdr.type) { - case IMSG_LKA_MX_LOOKUP: { + case IMSG_LKA_MX: { runner_batch_resolved(env, imsg.data); break; } @@ -718,7 +718,7 @@ runner_batch_dispatch(struct smtpd *env, struct batch *batchp, time_t curtime) else if (batchp->type & T_MTA_BATCH) proctype = PROC_MTA; - imsg_compose(env->sc_ibufs[proctype], IMSG_CREATE_BATCH, 0, 0, -1, + imsg_compose(env->sc_ibufs[proctype], IMSG_BATCH_CREATE, 0, 0, -1, batchp, sizeof (struct batch)); while ((messagep = TAILQ_FIRST(&batchp->messages))) { @@ -827,8 +827,8 @@ batch_record(struct smtpd *env, struct message *messagep) } else { batchp->type |= T_MTA_BATCH; - imsg_compose(env->sc_ibufs[PROC_LKA], IMSG_LKA_MX_LOOKUP, 0, 0, -1, - batchp, sizeof(struct batch)); + imsg_compose(env->sc_ibufs[PROC_LKA], IMSG_LKA_MX, + 0, 0, -1, batchp, sizeof(struct batch)); } } |