Browse Source

use a more reasonable compression level

dynamic-accesslists
denis 16 years ago
parent
commit
3655976223
  1. 2
      ot_fullscrape.c

2
ot_fullscrape.c

@ -135,7 +135,7 @@ static void fullscrape_make( int *iovec_entries, struct iovec **iovector, ot_tas @@ -135,7 +135,7 @@ static void fullscrape_make( int *iovec_entries, struct iovec **iovector, ot_tas
strm.next_in = (uint8_t*)compress_buffer;
strm.next_out = (uint8_t*)r;
strm.avail_out = OT_SCRAPE_CHUNK_SIZE;
if( deflateInit2(&strm,9,Z_DEFLATED,31,8,Z_DEFAULT_STRATEGY) != Z_OK )
if( deflateInit2(&strm,7,Z_DEFLATED,31,8,Z_DEFAULT_STRATEGY) != Z_OK )
fprintf( stderr, "not ok.\n" );
r = compress_buffer;
}

Loading…
Cancel
Save