X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=odr%2Fodr_int.c;h=ffb41af7be53f4ed0473c1350c8305e44165c37b;hb=aad9a6e6dbceb78f4a125c24c9b93d19f75af361;hp=df4655ef87c722d185bdbffff5e8cb66fa905a38;hpb=a7d28a25277a208edb9c44d124f179cc2be6db70;p=yaz-moved-to-github.git diff --git a/odr/odr_int.c b/odr/odr_int.c index df4655e..ffb41af 100644 --- a/odr/odr_int.c +++ b/odr/odr_int.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: odr_int.c,v $ - * Revision 1.1 1995-02-02 16:21:53 quinn + * Revision 1.2 1995-02-07 14:13:45 quinn + * Bug fixes. + * + * Revision 1.1 1995/02/02 16:21:53 quinn * First kick. * */ @@ -25,7 +28,10 @@ int odr_integer(ODR o, int **p, int opt) o->t_tag = ODR_INTEGER; } if ((res = ber_tag(o, *p, o->t_class, o->t_tag, &cons)) < 0) + { + *p = 0; return 0; + } if (!res) { *p = 0;