X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fotherinfo.c;h=80cb19de074807687abc052d454c8560ec18b707;hb=d962efcd2c1f0a3abfb0c40e81e298d69a9757bd;hp=e15a5e911883b154c94f42ee0b7817d8d1fe1b19;hpb=88d3bedf772316f87e1996f655ccf8d1e2589755;p=yaz-moved-to-github.git diff --git a/src/otherinfo.c b/src/otherinfo.c index e15a5e9..80cb19d 100644 --- a/src/otherinfo.c +++ b/src/otherinfo.c @@ -69,7 +69,7 @@ void yaz_oi_APDU(Z_APDU *apdu, Z_OtherInformation ***oip) } } -Z_OtherInformationUnit *yaz_oi_update ( +Z_OtherInformationUnit *yaz_oi_update( Z_OtherInformation **otherInformationP, ODR odr, const Odr_oid *oid, int categoryValue, int delete_flag) { @@ -92,6 +92,7 @@ Z_OtherInformationUnit *yaz_oi_update ( { if (!oid) { + /* DS: Want does this do? Returns the first element without a category */ if (!otherInformation->list[i]->category) return otherInformation->list[i]; } @@ -177,6 +178,7 @@ char *yaz_oi_get_string_oid ( return 0; } + /* * Local variables: * c-basic-offset: 4