From: Sebastian Hammer Date: Wed, 29 May 1996 15:47:50 +0000 (+0000) Subject: Fixed in bug DiagRecs decoder. Thanks to Linda Harris. X-Git-Tag: YAZ.1.8~745 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=d0ef7e3d61ea8c14a8649fd199e9060039f3b7b0;p=yaz-moved-to-github.git Fixed in bug DiagRecs decoder. Thanks to Linda Harris. --- diff --git a/asn/proto.c b/asn/proto.c index 5fea632..6d61a12 100644 --- a/asn/proto.c +++ b/asn/proto.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: proto.c,v $ - * Revision 1.46 1996-04-10 11:39:42 quinn + * Revision 1.47 1996-05-29 15:47:50 quinn + * Fixed in bug DiagRecs decoder. Thanks to Linda Harris. + * + * Revision 1.46 1996/04/10 11:39:42 quinn * Fixed bug in UserInfo * * Revision 1.45 1996/02/23 10:00:25 quinn @@ -873,7 +876,7 @@ int z_DiagRecs(ODR o, Z_DiagRecs **p, int opt) &(*p)->num_diagRecs)) return 1; *p = 0; - return 0; + return opt && odr_ok(o); } int z_NamePlusRecord(ODR o, Z_NamePlusRecord **p, int opt)