fprintf(stderr, "%s: %s (code %d:%d)", message, odr_errlist[err], err, x);
if (e && *e)
fprintf(stderr, " element %s", e);
-
+
fprintf(stderr, "\n");
if (element_path)
{
for (i = 0; i < len; i++)
{
unsigned c = ((const unsigned char *) buf)[i];
- if (i == 2000 && len > 3100)
+ if (i == 20000 && len > 31000)
{
fputs(" ..... ", (FILE*) handle);
i = len - 1000;
void odr_set_stream(ODR o, void *handle,
- void (*stream_write)(ODR o,
+ void (*stream_write)(ODR o,
void *handle, int type,
const char *buf, int len),
void (*stream_close)(void *handle))
yaz_iconv(o->op->iconv_handle, 0, 0, 0, 0);
yaz_log(log_level, "odr_reset o=%p", o);
}
-
+
void odr_destroy(ODR o)
{
nmem_destroy(o->mem);