From d0ef7e3d61ea8c14a8649fd199e9060039f3b7b0 Mon Sep 17 00:00:00 2001 From: Sebastian Hammer Date: Wed, 29 May 1996 15:47:50 +0000 Subject: [PATCH] Fixed in bug DiagRecs decoder. Thanks to Linda Harris. --- asn/proto.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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) -- 1.7.10.4