X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fsortm.c;h=ff69bc9e2b8a1ebe4fa1558c33f1c2c5faae933f;hp=061ae5a435876941f39939255a085e9ef46ff16a;hb=fc9279e818dfc96c63a5d75a89080cc68cfe1170;hpb=ac3066d2d563ce3b9de66195f6818eecb594fec2 diff --git a/uip/sortm.c b/uip/sortm.c index 061ae5a..ff69bc9 100644 --- a/uip/sortm.c +++ b/uip/sortm.c @@ -332,7 +332,6 @@ get_fields(char *datesw, int msg, struct smsg *smsg) for (compnum = 1, state = FLD2;; compnum++) { switch (state = m_getfld2(state, &f, in)) { case LENERR2: - admonish(NULL, "To long header field in message %d (header %s, #%d)", msg, f.name, compnum); state = FLD2; /* FALL */ case FLD2: @@ -355,6 +354,10 @@ get_fields(char *datesw, int msg, struct smsg *smsg) break; case FMTERR2: + admonish(NULL, "format error in message %d (header #%d)", msg, compnum); + state = FLD2; + continue; + case IOERR2: admonish(NULL, "format error in message %d (header #%d)", msg, compnum); if (datecomp) {