From 00796628a5c7dec56efe81be9cf781bb98afc47d Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 29 Oct 1997 12:02:22 +0000 Subject: [PATCH] Using oid_ent_to_oid used instead of the non thread-safe oid_getoidbyent. --- recctrl/recgrs.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/recctrl/recgrs.c b/recctrl/recgrs.c index 5029f6f..494b916 100644 --- a/recctrl/recgrs.c +++ b/recctrl/recgrs.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: recgrs.c,v $ - * Revision 1.11 1997-10-27 14:34:00 adam + * Revision 1.12 1997-10-29 12:02:22 adam + * Using oid_ent_to_oid used instead of the non thread-safe oid_getoidbyent. + * + * Revision 1.11 1997/10/27 14:34:00 adam * Work on generic character mapping depending on "structure" field * in abstract syntax file. * @@ -537,12 +540,13 @@ static int grs_retrieve(struct recRetrieveCtrl *p) { oident oe; Odr_oid *oid; + int oidtmp[OID_SIZE]; oe.proto = PROTO_Z3950; oe.oclass = CLASS_SCHEMA; oe.value = node->u.root.absyn->reference; - if ((oid = oid_getoidbyent(&oe))) + if ((oid = oid_ent_to_oid (&oe, oidtmp))) { char tmp[128]; data1_handle dh = p->dh; -- 1.7.10.4