projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update API use to 5.0.5 due to new yaz_marc_read_json_node
[yaz-moved-to-github.git]
/
src
/
odr_tag.c
diff --git
a/src/odr_tag.c
b/src/odr_tag.c
index
9b94781
..
e696610
100644
(file)
--- a/
src/odr_tag.c
+++ b/
src/odr_tag.c
@@
-21,7
+21,7
@@
int odr_peektag(ODR o, int *zclass, int *tag, int *cons)
}
if (ODR_STACK_NOT_EMPTY(o) && !odr_constructed_more(o))
return 0;
- if (ber_dectag(o->bp, zclass, tag, cons, odr_max(o)) <= 0)
+ if (ber_dectag(o->op->bp, zclass, tag, cons, odr_max(o)) <= 0)
{
odr_seterror(o, OREQUIRED, 49);
return 0;