projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MARC line decoding: be less picky about length given
[yaz-moved-to-github.git]
/
src
/
marc_read_line.c
diff --git
a/src/marc_read_line.c
b/src/marc_read_line.c
index
2137197
..
85356c9
100644
(file)
--- a/
src/marc_read_line.c
+++ b/
src/marc_read_line.c
@@
-127,7
+127,7
@@
int yaz_marc_read_line(yaz_marc_t mt,
}
else if (line[0] == '(') /* annotation, skip it */
;
- else if (line_len == 24 && atoi_n_check(line, 5, &val) && val >= 24)
+ else if (line_len == 24 && atoi_n_check(line, 5, &val))
{
/* deal with header lines: 00366nam 22001698a 4500
*/