]> diplodocus.org Git - nmh/commitdiff
Fixed double fclose().
authorDavid Levine <levinedl@acm.org>
Thu, 1 Jun 2017 23:54:21 +0000 (19:54 -0400)
committerDavid Levine <levinedl@acm.org>
Thu, 1 Jun 2017 23:54:21 +0000 (19:54 -0400)
uip/sendsbr.c

index 3ada6bf..2d4d0a8 100644 (file)
@@ -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;
         }