X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fmarc_read_iso2709.c;h=193fc5ceac5461c1d4b4469138b726ec7d3dbf02;hp=dcae48c6b0872b25aadaedeef382fd99caae3a0c;hb=77c5a4fca8b516fd39b8ba213daed17a465a6b2a;hpb=7e39a157bcf0419339fb279b9a64a8971b8a2151 diff --git a/src/marc_read_iso2709.c b/src/marc_read_iso2709.c index dcae48c..193fc5c 100644 --- a/src/marc_read_iso2709.c +++ b/src/marc_read_iso2709.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2010 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ @@ -18,7 +18,6 @@ #include #include -#include #include #include #include @@ -90,7 +89,7 @@ int yaz_marc_read_iso2709(yaz_marc_t mt, const char *buf, int bsize) } /* Check for digits in length+starting info */ while (--l >= 3) - if (!isdigit(*(const unsigned char *) (buf + entry_p+l))) + if (!yaz_isdigit(buf[entry_p + l])) break; if (l >= 3) {