From: Philipp Takacs Date: Sat, 23 Apr 2016 18:48:45 +0000 (+0200) Subject: ignore LENERR2 in seq_read() X-Git-Tag: mmh-0.3~36 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=bdd3e72e5d8929b420af8fa28565888d39ba9f91;ds=sidebyside ignore LENERR2 in seq_read() this is unnecessary and brings problems because sequences aren't created with a linecap. --- diff --git a/sbr/seq_read.c b/sbr/seq_read.c index 1fdccf9..041f632 100644 --- a/sbr/seq_read.c +++ b/sbr/seq_read.c @@ -76,6 +76,9 @@ seq_public(struct msgs *mp) /* Use m_getfld to scan sequence file */ for (state = FLD2;;) { switch (state = m_getfld2(state, &f, fp)) { + case LENERR2: + state = FLD2; + /* FALL */ case FLD2: seq_init(mp, mh_xstrdup(f.name), trimcpy(f.value)); continue;