projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae80b3d
)
MARC line reader: allow control fields of size 1
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 19 Mar 2010 12:33:07 +0000
(13:33 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 19 Mar 2010 12:33:07 +0000
(13:33 +0100)
src/marc_read_line.c
patch
|
blob
|
history
diff --git
a/src/marc_read_line.c
b/src/marc_read_line.c
index
2129ad3
..
eefeb84
100644
(file)
--- a/
src/marc_read_line.c
+++ b/
src/marc_read_line.c
@@
-144,7
+144,7
@@
int yaz_marc_read_line(yaz_marc_t mt,
&length_implementation);
header_created = 1;
}
- else if (line_len > 5 && line[0] != ' ' && line[1] != ' '
+ else if (line_len > 4 && line[0] != ' ' && line[1] != ' '
&& line[2] != ' ' && line[3] == ' ' )
{
/* deal with data/control lines: 245 12 ........ */