X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fwhom.c;h=7486dd897f0dbb3315efbf6edd084724681d18b5;hp=daca343b121b1dcd76c7fe711a496bcf971f2aac;hb=e917512db8efcbf3b5b5baeb64b6d345fd3686db;hpb=04a3dfc70394a517a79340a7d3ecd9c6a23d0bee diff --git a/uip/whom.c b/uip/whom.c index daca343..7486dd8 100644 --- a/uip/whom.c +++ b/uip/whom.c @@ -215,6 +215,9 @@ process(char *file) for (compnum=1, state=FLD2;; compnum++) { switch (state = m_getfld2(state, &f, in)) { + case LENERR2: + state = FLD2; + /* FALL */ case FLD2: proc_hdr(f.name, f.value); continue; @@ -223,8 +226,10 @@ process(char *file) case FILEEOF2: break; - case LENERR2: case FMTERR2: + advise(NULL, "message format error in component #%d", compnum); + continue; + case IOERR2: adios(EX_DATAERR, NULL, "message format error in component #%d", compnum);