X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=odr%2Fber_tag.c;h=98b8a95c13d03127e887041e7b5a87520c0b9ddd;hb=0442642bb213139271943552e5c1bc731ee96872;hp=8c3e18626994a00c54ab4751d78cd3c438be11c7;hpb=ec1f815d5348cd21e393f76bc212c910c34bbc45;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; } }