/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2011 Index Data
+ * Copyright (C) 1995-2012 Index Data
* See the file LICENSE for details.
*/
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;
odr_set_stream(o, file, odr_FILE_write, odr_FILE_close);
}
+
void odr_set_stream(ODR o, void *handle,
void (*stream_write)(ODR o,
void *handle, int type,