From c47b42a036abf532822fdf80ce52298ad8b2d9ce Mon Sep 17 00:00:00 2001 From: Gilles Chehade Date: Sun, 17 Apr 2011 11:39:24 +0000 Subject: a structure describing an envelope should be called struct envelope, not struct message ... --- usr.sbin/smtpd/smtp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/smtpd/smtp.c') 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 @@ -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; } } -- cgit v1.2.3