From: Adam Dickmeiss Date: Mon, 18 Feb 2002 12:54:02 +0000 (+0000) Subject: Avoid MARC decoding of MAB. X-Git-Tag: YAZ.1.8.6~52 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=8c45d04ab481f1dfa7527b88c5c56b291d9525f6;p=yaz-moved-to-github.git Avoid MARC decoding of MAB. --- diff --git a/client/client.c b/client/client.c index e1c394c..6fec877 100644 --- a/client/client.c +++ b/client/client.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2002, Index Data * See the file LICENSE for details. * - * $Id: client.c,v 1.142 2002-02-12 21:12:39 adam Exp $ + * $Id: client.c,v 1.143 2002-02-18 12:54:02 adam Exp $ */ #include @@ -567,8 +567,9 @@ static void display_record(Z_External *r) { if ( #if AVOID_MARC_DECODE - /* primitive check for a marc OID 5.1-29 */ - ent->oidsuffix[0] == 5 && ent->oidsuffix[1] < 30 + /* primitive check for a marc OID 5.1-29 except 16 */ + ent->oidsuffix[0] == 5 && ent->oidsuffix[1] < 30 && + ent->oidsuffix[1] != 16) #else 1 #endif