X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fmarc_read_line.c;h=8dcf9c6ccff7396b1bb6721747ade0740d6e5c76;hp=82f455f4c525fec35aeb90c738fab724ba9279cd;hb=3e11596504862f376b7340848715d6f549864660;hpb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35 diff --git a/src/marc_read_line.c b/src/marc_read_line.c index 82f455f..8dcf9c6 100644 --- a/src/marc_read_line.c +++ b/src/marc_read_line.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ @@ -19,7 +19,6 @@ #include #include #include -#include #include #include @@ -128,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 */