]> diplodocus.org Git - nmh/blobdiff - uip/rcvtty.c
Make sure to mark the sequence file as closed in the msgs struct.
[nmh] / uip / rcvtty.c
index 92334c18f0b203679f9930528f893e8c3ec9feb2..5443748c99b56674318ad67f5814e3d1630fc181 100644 (file)
@@ -192,7 +192,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 ();