X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhparse.c;h=e151062c488236a3c8c497fc7b2cd231e3587d55;hb=29a3e9f413c20e96891fabb90208096ebc101afb;hp=ea78b42c4644fbe358cf95ac92b35ec557d96d0b;hpb=ca34fbd0a5204d47ad019f64ef03d21ebd3397fd;p=mmh diff --git a/uip/mhparse.c b/uip/mhparse.c index ea78b42..e151062 100644 --- a/uip/mhparse.c +++ b/uip/mhparse.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include @@ -2472,8 +2471,7 @@ InitFTP (CT ct) static int openFTP (CT ct, char **file) { - int cachetype, fd; - volatile int caching; + int cachetype, caching, fd; int len, buflen; char *bp, *ftp, *user, *pass; char buffer[BUFSIZ], cachefile[BUFSIZ]; @@ -2606,7 +2604,7 @@ openFTP (CT ct, char **file) fflush (stdout); - for (i = 0; (child_id = vfork ()) == NOTOK && i < 5; i++) + for (i = 0; (child_id = vfork()) == NOTOK && i < 5; i++) sleep (5); switch (child_id) { case NOTOK: @@ -2748,7 +2746,7 @@ openMail (CT ct, char **file) vec[vecp++] = e->eb_body; vec[vecp] = NULL; - for (i = 0; (child_id = vfork ()) == NOTOK && i < 5; i++) + for (i = 0; (child_id = vfork()) == NOTOK && i < 5; i++) sleep (5); switch (child_id) { case NOTOK: