X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fodr_cons.c;h=4a183726184f286e9a70201bf9def64a53a7e20c;hb=612ac7d30003582e44d4184c830eee7f1a1a0443;hp=76de6213d1263b46932279b9f8ae4f46cd46f541;hpb=69b1d8e7b437179163fe97b7cbead51a56835f2a;p=yaz-moved-to-github.git 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;