X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fodr_cons.c;h=4a183726184f286e9a70201bf9def64a53a7e20c;hp=76de6213d1263b46932279b9f8ae4f46cd46f541;hb=c82db01c9fc0b51254ec6ead5fe3b503ca098ca0;hpb=69b1d8e7b437179163fe97b7cbead51a56835f2a diff --git a/src/odr_cons.c b/src/odr_cons.c index 76de621..4a18372 100644 --- a/src/odr_cons.c +++ b/src/odr_cons.c @@ -92,7 +92,7 @@ int odr_constructed_begin(ODR o, void *xxp, int zclass, int tag, o->op->stack_top->lenlen = lenlen; - if (odr_write2(o, dummy, lenlen) < 0) /* dummy */ + if (odr_write(o, dummy, lenlen) < 0) /* dummy */ { ODR_STACK_POP(o); return 0;