From: Adam Dickmeiss Date: Wed, 8 Aug 2012 12:42:47 +0000 (+0200) Subject: ODR dump: truncate dump after 20k rather than 2k. X-Git-Tag: v4.2.36~9 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=eeefb8a3c1f94ccff4435e32bb675ae9dc75b20f;p=yaz-moved-to-github.git ODR dump: truncate dump after 20k rather than 2k. --- diff --git a/src/odr.c b/src/odr.c index 1d2c744..49c7753 100644 --- a/src/odr.c +++ b/src/odr.c @@ -147,7 +147,7 @@ void odr_FILE_write(ODR o, void *handle, int type, 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;