]> diplodocus.org Git - nmh/blobdiff - uip/rcvtty.c
h/mime.h: Delete unused isatom(c) macro.
[nmh] / uip / rcvtty.c
index d32a1baa03b6b44f7d068bd6b0d78184e650c51e..c38dd061ae56893d120b7c78c48868cdb9da33ef 100644 (file)
@@ -189,7 +189,7 @@ message_fd (char **vec)
     struct stat st;
 
     if ((tfile = m_mktemp2(NULL, invo_name, &fd, NULL)) == NULL) {
-       advise(NULL, "unable to create temporary file in %s", get_temp_dir());
+       inform("unable to create temporary file in %s", get_temp_dir());
        return NOTOK;
     }
     (void) m_unlink(tfile);  /* Use fd, no longer need the file name. */
@@ -198,7 +198,8 @@ message_fd (char **vec)
        /* fork error */
        close (fd);
        return header_fd ();
-    } else if (child_id) {
+    }
+    if (child_id) {
        /* parent process */
        if (!setjmp (myctx)) {
            SIGNAL (SIGALRM, alrmser);
@@ -254,7 +255,7 @@ header_fd (void)
     charstring_t scanl = NULL;
 
     if ((tfile = m_mktemp2(NULL, invo_name, &fd, NULL)) == NULL) {
-       advise(NULL, "unable to create temporary file in %s", get_temp_dir());
+       inform("unable to create temporary file in %s", get_temp_dir());
         return NOTOK;
     }
     (void) m_unlink(tfile);  /* Use fd, no longer need the file name. */