summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/queue.c
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2011-04-17 11:39:24 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2011-04-17 11:39:24 +0000
commitc47b42a036abf532822fdf80ce52298ad8b2d9ce (patch)
tree25233bd6efe03645b35829cd05f1ca81f5a98906 /usr.sbin/smtpd/queue.c
parent1541cc4dd793cb295324ed5c8a8d25cd859ca1cc (diff)
a structure describing an envelope should be called struct envelope, not
struct message ...
Diffstat (limited to 'usr.sbin/smtpd/queue.c')
-rw-r--r--usr.sbin/smtpd/queue.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/smtpd/queue.c b/usr.sbin/smtpd/queue.c
index 22b57be98f5..e0ffc834296 100644
--- a/usr.sbin/smtpd/queue.c
+++ b/usr.sbin/smtpd/queue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: queue.c,v 1.100 2011/04/17 11:16:57 gilles Exp $ */
+/* $OpenBSD: queue.c,v 1.101 2011/04/17 11:39:22 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -47,7 +47,7 @@ void
queue_imsg(struct smtpd *env, struct imsgev *iev, struct imsg *imsg)
{
struct submit_status ss;
- struct message *m;
+ struct envelope *m;
struct ramqueue_batch *rq_batch;
int fd, ret;
@@ -341,17 +341,17 @@ queue_purge(struct smtpd *env, enum queue_kind qkind, char *queuepath)
}
void
-queue_submit_envelope(struct smtpd *env, struct message *message)
+queue_submit_envelope(struct smtpd *env, struct envelope *m)
{
imsg_compose_event(env->sc_ievs[PROC_QUEUE],
IMSG_QUEUE_SUBMIT_ENVELOPE, 0, 0, -1,
- message, sizeof(struct message));
+ m, sizeof(*m));
}
void
-queue_commit_envelopes(struct smtpd *env, struct message *message)
+queue_commit_envelopes(struct smtpd *env, struct envelope *m)
{
imsg_compose_event(env->sc_ievs[PROC_QUEUE],
IMSG_QUEUE_COMMIT_ENVELOPES, 0, 0, -1,
- message, sizeof(struct message));
+ m, sizeof(*m));
}