summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordenis <>2008-09-14 17:11:19 +0000
committerdenis <>2008-09-14 17:11:19 +0000
commit36559762234cd334d107bcc909962ebdceb7bdf5 (patch)
tree9dc135cd15b6a7a1ddd8c5434b04a994876463bb
parentc71505fd9acc374792353fc3369b4e3069fd9163 (diff)
use a more reasonable compression level
-rw-r--r--ot_fullscrape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_fullscrape.c b/ot_fullscrape.c
index 4baaf74..0aa7fb9 100644
--- a/ot_fullscrape.c
+++ b/ot_fullscrape.c
@@ -135,7 +135,7 @@ static void fullscrape_make( int *iovec_entries, struct iovec **iovector, ot_tas
135 strm.next_in = (uint8_t*)compress_buffer; 135 strm.next_in = (uint8_t*)compress_buffer;
136 strm.next_out = (uint8_t*)r; 136 strm.next_out = (uint8_t*)r;
137 strm.avail_out = OT_SCRAPE_CHUNK_SIZE; 137 strm.avail_out = OT_SCRAPE_CHUNK_SIZE;
138 if( deflateInit2(&strm,9,Z_DEFLATED,31,8,Z_DEFAULT_STRATEGY) != Z_OK ) 138 if( deflateInit2(&strm,7,Z_DEFLATED,31,8,Z_DEFAULT_STRATEGY) != Z_OK )
139 fprintf( stderr, "not ok.\n" ); 139 fprintf( stderr, "not ok.\n" );
140 r = compress_buffer; 140 r = compress_buffer;
141 } 141 }