projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
slocal: must not read profile (indirectly through m_mktemp2()).
[mmh]
/
uip
/
mhparse.c
diff --git
a/uip/mhparse.c
b/uip/mhparse.c
index
86c16a9
..
b3b07e4
100644
(file)
--- a/
uip/mhparse.c
+++ b/
uip/mhparse.c
@@
-2472,7
+2472,7
@@
openFTP(CT ct, char **file)
CE ce;
static char *username = NULL;
static char *password = NULL;
CE ce;
static char *username = NULL;
static char *password = NULL;
- int child_id, i, vecp;
+ int child_id, vecp;
char *vec[9];
e = ct->c_ctexbody;
char *vec[9];
e = ct->c_ctexbody;
@@
-2598,9
+2598,7
@@
openFTP(CT ct, char **file)
fflush(stdout);
fflush(stdout);
- for (i = 0; (child_id = fork()) == NOTOK && i < 5; i++)
- sleep(5);
- switch (child_id) {
+ switch (child_id = fork()) {
case NOTOK:
adios("fork", "unable to");
/* NOTREACHED */
case NOTOK:
adios("fork", "unable to");
/* NOTREACHED */
@@
-2674,7
+2672,7
@@
InitMail(CT ct)
static int
openMail(CT ct, char **file)
{
static int
openMail(CT ct, char **file)
{
- int child_id, fd, i, vecp;
+ int child_id, fd, vecp;
int len, buflen;
char *bp, buffer[BUFSIZ], *vec[7];
struct exbody *e = ct->c_ctexbody;
int len, buflen;
char *bp, buffer[BUFSIZ], *vec[7];
struct exbody *e = ct->c_ctexbody;
@@
-2734,9
+2732,7
@@
openMail(CT ct, char **file)
vec[vecp++] = e->eb_body;
vec[vecp] = NULL;
vec[vecp++] = e->eb_body;
vec[vecp] = NULL;
- for (i = 0; (child_id = fork()) == NOTOK && i < 5; i++)
- sleep(5);
- switch (child_id) {
+ switch (child_id = fork()) {
case NOTOK:
advise("fork", "unable to");
return NOTOK;
case NOTOK:
advise("fork", "unable to");
return NOTOK;