(*p)->buf = (char *)odr_malloc(o, res);
memcpy((*p)->buf, o->bp, res);
(*p)->len = res;
-#if OCT_SIZE
- (*p)->size = res;
-#endif
o->bp += res;
return 1;
case ODR_ENCODE:
- if (odr_write2(o, (*p)->buf, (*p)->len) < 0)
+ if (odr_write(o, (*p)->buf, (*p)->len) < 0)
return 0;
return 1;
default: odr_seterror(o, OOTHER, 3); return 0;