X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fwhom.c;h=64ec7c973e0a3659a69618e588bd3274b5086eb4;hp=e02994f139ebdb4151bb780afd7423b88ff5377c;hb=6e4f8128fe078a3e54f5c92d27c31acc7b8f9fd8;hpb=ac3066d2d563ce3b9de66195f6818eecb594fec2 diff --git a/uip/whom.c b/uip/whom.c index e02994f..64ec7c9 100644 --- a/uip/whom.c +++ b/uip/whom.c @@ -37,6 +37,7 @@ static struct swit switches[] = { { NULL, 0 } }; +char *version=VERSION; #define NFILES 32 @@ -216,7 +217,6 @@ process(char *file) for (compnum=1, state=FLD2;; compnum++) { switch (state = m_getfld2(state, &f, in)) { case LENERR2: - advise(NULL, "field %d contains a to long line", f.name); state = FLD2; /* FALL */ case FLD2: @@ -228,6 +228,9 @@ process(char *file) break; 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);