don't warn if lenerr is ignored
[mmh] / uip / whom.c
index e02994f..7486dd8 100644 (file)
@@ -216,7 +216,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 +227,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);