diff options
Diffstat (limited to 'usr.sbin/smtpd/mta.c')
-rw-r--r-- | usr.sbin/smtpd/mta.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/mta.c b/usr.sbin/smtpd/mta.c index 96d0fda7627..b5cf1ddb1de 100644 --- a/usr.sbin/smtpd/mta.c +++ b/usr.sbin/smtpd/mta.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mta.c,v 1.107 2011/05/21 18:39:03 gilles Exp $ */ +/* $OpenBSD: mta.c,v 1.108 2011/07/06 20:56:16 gilles Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -511,8 +511,7 @@ mta_enter_state(struct mta_session *s, int newstate, void *p) free(relay); } - if (s->datafp) - fclose(s->datafp); + fclose(s->datafp); free(s->secret); free(s->host); |