X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fsortm.c;h=061ae5a435876941f39939255a085e9ef46ff16a;hp=56fa7cb59a43ea3701d9534b4ecfd4e85601a17c;hb=ac3066d2d563ce3b9de66195f6818eecb594fec2;hpb=b16c039dc21faa0d68a0ba45eab857895e82439b diff --git a/uip/sortm.c b/uip/sortm.c index 56fa7cb..061ae5a 100644 --- a/uip/sortm.c +++ b/uip/sortm.c @@ -331,6 +331,10 @@ 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: if (mh_strcasecmp(f.name, datesw)==0) { datecomp = mh_xstrdup(f.value); @@ -350,7 +354,6 @@ get_fields(char *datesw, int msg, struct smsg *smsg) case FILEEOF2: break; - case LENERR2: case FMTERR2: case IOERR2: admonish(NULL, "format error in message %d (header #%d)", msg, compnum);