summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtp.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/smtp.c
parent1541cc4dd793cb295324ed5c8a8d25cd859ca1cc (diff)
a structure describing an envelope should be called struct envelope, not
struct message ...
Diffstat (limited to 'usr.sbin/smtpd/smtp.c')
-rw-r--r--usr.sbin/smtpd/smtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtp.c b/usr.sbin/smtpd/smtp.c
index 1908db95caa..2164f8bc6c3 100644
--- a/usr.sbin/smtpd/smtp.c
+++ b/usr.sbin/smtpd/smtp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtp.c,v 1.82 2011/04/15 17:01:05 gilles Exp $ */
+/* $OpenBSD: smtp.c,v 1.83 2011/04/17 11:39:23 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -152,7 +152,7 @@ smtp_imsg(struct smtpd *env, struct imsgev *iev, struct imsg *imsg)
case IMSG_SMTP_ENQUEUE:
imsg_compose_event(iev, IMSG_SMTP_ENQUEUE, 0, 0,
smtp_enqueue(env, NULL), imsg->data,
- sizeof(struct message));
+ sizeof(struct envelope));
return;
}
}