X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fspost.c;h=6defbacc164962317ec8901189b7201e79b9b6c5;hb=4548981fb45fbc917cc2c26b7c96b31cfa14bc9b;hp=187f9a0e3b38a474a6bdca68846f5e8a658a8f8d;hpb=91836a18d1815f1f1cf687b2ad4eeba97d7f6594;p=mmh diff --git a/uip/spost.c b/uip/spost.c index 187f9a0..6defbac 100644 --- a/uip/spost.c +++ b/uip/spost.c @@ -428,7 +428,7 @@ main (int argc, char **argv) if (pushflg && !(watch || verbose)) { /* fork to a child to run sendmail */ - for (i=0; (pid = vfork()) == NOTOK && i < 5; i++) + for (i=0; (pid = m_vfork()) == NOTOK && i < 5; i++) sleep(5); switch (pid) { case NOTOK: @@ -764,7 +764,7 @@ make_bcc_file (void) else { vec[0] = r1bindex (mhlproc, '/'); - for (i = 0; (child_id = vfork()) == NOTOK && i < 5; i++) + for (i = 0; (child_id = m_vfork()) == NOTOK && i < 5; i++) sleep (5); switch (child_id) { case NOTOK: @@ -825,7 +825,7 @@ fcc (char *file, char *folder) printf ("%sFcc: %s\n", msgstate == resent ? "Resent-" : "", folder); fflush (stdout); - for (i = 0; (child_id = vfork()) == NOTOK && i < 5; i++) + for (i = 0; (child_id = m_vfork()) == NOTOK && i < 5; i++) sleep (5); switch (child_id) { case NOTOK: