X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=asn%2Fprt-exd.c;h=d32228b3dbbe7c6e08f04ba022fc22eeed9f18d6;hp=6ab6af469d07905ca73e3c03c3232b38c747a495;hb=fb9fcec623beac87912604f17c680fad3def4a1b;hpb=cef1af6f2b0a094a907dec1a7bd1c4f6a42ef13c diff --git a/asn/prt-exd.c b/asn/prt-exd.c index 6ab6af4..d32228b 100644 --- a/asn/prt-exd.c +++ b/asn/prt-exd.c @@ -1,10 +1,13 @@ /* - * Copyright (c) 1995, Index Data. + * Copyright (c) 1995-1998, Index Data. * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * * $Log: prt-exd.c,v $ - * Revision 1.5 1997-04-30 08:52:02 quinn + * Revision 1.6 1998-01-05 09:04:57 adam + * Fixed bugs in encoders/decoders - Not operator (!) missing. + * + * Revision 1.5 1997/04/30 08:52:02 quinn * Null * * Revision 1.4 1996/10/10 12:35:12 quinn @@ -265,7 +268,7 @@ int z_IUSuppliedRecords_elem (ODR o, Z_IUSuppliedRecords_elem **p, int opt) int z_IUSuppliedRecords (ODR o, Z_IUSuppliedRecords **p, int opt) { - if (odr_initmember (o, p, sizeof(**p))) + if (!odr_initmember (o, p, sizeof(**p))) return opt && odr_ok(o); if (odr_sequence_of (o, z_IUSuppliedRecords_elem, &(*p)->elements, &(*p)->num))