X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fodr_mem.c;h=c102b168292deff00fa80ac5aa5cb15ad8bae849;hp=2cc6b4a15deb40a5897f43abab729b39dfba9363;hb=c82db01c9fc0b51254ec6ead5fe3b503ca098ca0;hpb=69b1d8e7b437179163fe97b7cbead51a56835f2a diff --git a/src/odr_mem.c b/src/odr_mem.c index 2cc6b4a..c102b16 100644 --- a/src/odr_mem.c +++ b/src/odr_mem.c @@ -97,7 +97,7 @@ int odr_grow_block(ODR b, int min_bytes) return 0; } -int odr_write2(ODR o, const char *buf, int bytes) +int odr_write(ODR o, const char *buf, int bytes) { if (o->pos + bytes >= o->size && odr_grow_block(o, bytes)) {