X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmarc_read_line.c;h=85356c9bd00ee567834c7e0a459c9e8a7f78f765;hb=3c287bc1d48ee6a1f300054c2cebd0ba312bd5b9;hp=eefeb84f0ce6bdc7ca8282d24346c7ea437acfea;hpb=23b8fd79b9b42dd8655bcd2e0af8a3905348f059;p=yaz-moved-to-github.git diff --git a/src/marc_read_line.c b/src/marc_read_line.c index eefeb84..85356c9 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-2010 Index Data + * Copyright (C) 1995-2011 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 */