From 8c45d04ab481f1dfa7527b88c5c56b291d9525f6 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 18 Feb 2002 12:54:02 +0000 Subject: [PATCH] Avoid MARC decoding of MAB. --- client/client.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 1.7.10.4