X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=odr%2Fber_tag.c;fp=odr%2Fber_tag.c;h=98b8a95c13d03127e887041e7b5a87520c0b9ddd;hb=39fc6d5c771c134df959cdd44b2ad62d07b9576f;hp=8c3e18626994a00c54ab4751d78cd3c438be11c7;hpb=7aa202b31ec22a71d9c66f4602bf5ec60785c754;p=yaz-moved-to-github.git diff --git a/odr/ber_tag.c b/odr/ber_tag.c index 8c3e186..98b8a95 100644 --- a/odr/ber_tag.c +++ b/odr/ber_tag.c @@ -3,7 +3,7 @@ * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * - * $Id: ber_tag.c,v 1.26 2003-05-20 19:55:29 adam Exp $ + * $Id: ber_tag.c,v 1.27 2003-05-24 19:20:14 adam Exp $ */ #if HAVE_CONFIG_H #include @@ -47,7 +47,7 @@ int ber_tag(ODR o, void *p, int zclass, int tag, int *constructed, int opt, if (!opt) { odr_seterror(o, OREQUIRED, 24); - odr_setaddinfo (o, name); + odr_setelement (o, name); } return 0; } @@ -65,7 +65,7 @@ int ber_tag(ODR o, void *p, int zclass, int tag, int *constructed, int opt, if (!opt) { odr_seterror(o, OREQUIRED, 25); - odr_setaddinfo(o, name); + odr_setelement(o, name); } return 0; } @@ -77,7 +77,7 @@ int ber_tag(ODR o, void *p, int zclass, int tag, int *constructed, int opt, odr_max(o))) <= 0) { odr_seterror(o, OPROTO, 26); - odr_setaddinfo(o, name); + odr_setelement(o, name); return 0; } #ifdef ODR_DEBUG @@ -99,7 +99,7 @@ int ber_tag(ODR o, void *p, int zclass, int tag, int *constructed, int opt, if (!opt) { odr_seterror(o, OREQUIRED, 27); - odr_setaddinfo(o, name); + odr_setelement(o, name); } return 0; } @@ -107,12 +107,12 @@ int ber_tag(ODR o, void *p, int zclass, int tag, int *constructed, int opt, if (!*pp && !opt) { odr_seterror(o,OREQUIRED, 28); - odr_setaddinfo(o, name); + odr_setelement(o, name); } return *pp != 0; default: odr_seterror(o, OOTHER, 29); - odr_setaddinfo(o, name); + odr_setelement(o, name); return 0; } }