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
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
[yaz-moved-to-github.git]
/
src
/
odr_choice.c
diff --git
a/src/odr_choice.c
b/src/odr_choice.c
index
c025157
..
8c6c3c8
100644
(file)
--- a/
src/odr_choice.c
+++ b/
src/odr_choice.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2013 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
@@
-56,7
+56,7
@@
int odr_choice(ODR o, Odr_arm arm[], void *p, void *whichp,
{
if (o->op->stack_top && !odr_constructed_more(o))
return 0;
{
if (o->op->stack_top && !odr_constructed_more(o))
return 0;
- if (ber_dectag(o->bp, &cl, &tg, &cn, odr_max(o)) <= 0)
+ if (ber_dectag(o->op->bp, &cl, &tg, &cn, odr_max(o)) <= 0)
return 0;
}
else if (o->direction != ODR_DECODE)
return 0;
}
else if (o->direction != ODR_DECODE)