From 5ab94b7697f18c21bc67a2b62792ba414e177443 Mon Sep 17 00:00:00 2001 From: David Levine Date: Thu, 1 Jun 2017 19:54:21 -0400 Subject: [PATCH] Fixed double fclose(). --- uip/sendsbr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/uip/sendsbr.c b/uip/sendsbr.c index 3ada6bf0..2d4d0a86 100644 --- a/uip/sendsbr.c +++ b/uip/sendsbr.c @@ -887,8 +887,7 @@ get_from_header_info(const char *filename, const char **addr, const char **host, /* Use the hostformat that corresponds to the successful addrformat. */ if ((*host = get_message_header_info(in, hostformat)) == NULL) { - fclose(in); - *message = "unable to find sender host in"; + *message = "unable to find sender host"; fclose(in); return NOTOK; } -- 2.56.0