projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fb1dd2
)
ignore LENERR2 in seq_read()
author
Philipp Takacs
<philipp@bureaucracy.de>
Sat, 23 Apr 2016 18:48:45 +0000
(20:48 +0200)
committer
Philipp Takacs
<philipp@bureaucracy.de>
Sun, 24 Apr 2016 10:24:21 +0000
(12:24 +0200)
this is unnecessary and brings problems because
sequences aren't created with a linecap.
sbr/seq_read.c
patch
|
blob
|
history
diff --git
a/sbr/seq_read.c
b/sbr/seq_read.c
index
1fdccf9
..
041f632
100644
(file)
--- 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;