X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fotherinfo.c;h=2dc06f3f734799e67f6429b712316f07ca9b2b00;hp=4cf95c864f82bf574a3ea9af220429553b99178b;hb=67945ae14416eb099fec28978f286ebba7f5313f;hpb=b7b983104b5eb6d9d0e18faae70a575b528ec845 diff --git a/src/otherinfo.c b/src/otherinfo.c index 4cf95c8..2dc06f3 100644 --- a/src/otherinfo.c +++ b/src/otherinfo.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: otherinfo.c,v 1.4 2005-06-25 15:46:04 adam Exp $ + * $Id: otherinfo.c,v 1.5 2006-01-16 15:53:28 adam Exp $ */ /** * \file otherinfo.c @@ -190,7 +190,8 @@ char *yaz_oi_get_string_oid ( { Z_OtherInformationUnit *oi; - if ((oi = yaz_oi_update(otherInformation, 0, oid, 1, delete_flag)) && + if ((oi = yaz_oi_update(otherInformation, 0, oid, categoryValue, + delete_flag)) && oi->which == Z_OtherInfo_characterInfo) return oi->information.characterInfo; return 0;