]> diplodocus.org Git - nmh/blobdiff - uip/mhshowsbr.c
Make sure to mark the sequence file as closed in the msgs struct.
[nmh] / uip / mhshowsbr.c
index 866a41bfbcbca9f684c754c62877101c0757f29b..db804cb744d342749da8ec2c65daf064836b2373 100644 (file)
@@ -191,7 +191,7 @@ DisplayMsgHeader (CT ct, char *form)
 
     fflush (stdout);
 
-    for (i = 0; (child_id = vfork()) == NOTOK && i < 5; i++)
+    for (i = 0; (child_id = fork()) == NOTOK && i < 5; i++)
        sleep (5);
 
     switch (child_id) {
@@ -560,7 +560,7 @@ show_content_aux2 (CT ct, int serial, int alternate, char *cracked, char *buffer
 
     fflush (stdout);
 
-    for (i = 0; (child_id = vfork()) == NOTOK && i < 5; i++)
+    for (i = 0; (child_id = fork()) == NOTOK && i < 5; i++)
        sleep (5);
     switch (child_id) {
        case NOTOK: