projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e81dcf3
)
ODR dump: truncate dump after 20k rather than 2k.
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 8 Aug 2012 12:42:47 +0000
(14:42 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 8 Aug 2012 12:42:47 +0000
(14:42 +0200)
src/odr.c
patch
|
blob
|
history
diff --git
a/src/odr.c
b/src/odr.c
index
1d2c744
..
49c7753
100644
(file)
--- 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;