]> diplodocus.org Git - nmh/blobdiff - uip/rcvtty.c
Added mention to mhlist(1) man page, in response to question
[nmh] / uip / rcvtty.c
index 92334c18f0b203679f9930528f893e8c3ec9feb2..e9163ba7285c78f5f72b073cdd3edc8a9c45d440 100644 (file)
@@ -19,7 +19,6 @@
 #include <h/scansbr.h>
 #include <h/tws.h>
 #include <h/mts.h>
-#include <signal.h>
 #include <fcntl.h>
 
 #ifdef HAVE_GETUTXENT
@@ -192,7 +191,7 @@ message_fd (char **vec)
     fd = mkstemp (strncpy (tmpfil, "/tmp/rcvttyXXXXX", sizeof(tmpfil)));
     unlink (tmpfil);
 
-    if ((child_id = vfork()) == NOTOK) {
+    if ((child_id = fork()) == NOTOK) {
        /* fork error */
        close (fd);
        return header_fd ();