From: David Levine Date: Thu, 1 Jun 2017 23:54:21 +0000 (-0400) Subject: Fixed double fclose(). X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/5ab94b7697f18c21bc67a2b62792ba414e177443?hp=c74acc3a4973a9b517a10ff8c19e44f42f4f5693 Fixed double fclose(). --- 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; }