X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fmarc_read_line.c;h=eefeb84f0ce6bdc7ca8282d24346c7ea437acfea;hp=2129ad3c070fd900a13fe9f9ad03ede2f93b51df;hb=db32b7150acaf0e15dc6d33428f34bf49a1cc6d9;hpb=88d3bedf772316f87e1996f655ccf8d1e2589755 diff --git a/src/marc_read_line.c b/src/marc_read_line.c index 2129ad3..eefeb84 100644 --- 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 ........ */