X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhbuild.c;h=c0320226daf06050cc6a303479e422f234c1a6e1;hp=a233c685cd5dc1ea5217ba306b958b574f7a9a72;hb=HEAD;hpb=93fa896ceb5fbebe2f1f6e6e36419a13f8ffd99f diff --git a/uip/mhbuild.c b/uip/mhbuild.c index a233c68..f9674a3 100644 --- a/uip/mhbuild.c +++ b/uip/mhbuild.c @@ -51,7 +51,7 @@ char *version=VERSION; ** Directory to place tmp files. This must ** be set before these routines are called. */ -char *tmp; +extern char *tmp; pid_t xpid = 0; @@ -350,6 +350,8 @@ build_mime(char *infile) */ for (compnum = 1, state = FLD2;;) { switch (state = m_getfld2(state, &f, in)) { + case LENERR2: + state = FLD2; case FLD2: compnum++; @@ -384,7 +386,6 @@ build_mime(char *infile) adios(EX_CONFIG, NULL, "draft has empty body -- no directives!"); /* NOTREACHED */ - case LENERR2: case FMTERR2: case IOERR2: adios(EX_CONFIG, NULL, "message format error in component #%d",