mirror of https://github.com/aria2/aria2
2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Changed compression level to Z_DEFAULT_COMPRESSION. * src/GZipEncoder.ccpull/1/head
parent
7e6cdae00b
commit
2eb26c2513
|
@ -1,3 +1,8 @@
|
|||
2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Changed compression level to Z_DEFAULT_COMPRESSION.
|
||||
* src/GZipEncoder.cc
|
||||
|
||||
2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Added missing command line options: --http-no-cache,
|
||||
|
|
|
@ -64,7 +64,8 @@ void GZipEncoder::init()
|
|||
_strm->avail_in = 0;
|
||||
_strm->next_in = Z_NULL;
|
||||
|
||||
if(Z_OK != deflateInit2(_strm, 9, Z_DEFLATED, 31, 9, Z_DEFAULT_STRATEGY)) {
|
||||
if(Z_OK != deflateInit2
|
||||
(_strm, Z_DEFAULT_COMPRESSION, Z_DEFLATED, 31, 9, Z_DEFAULT_STRATEGY)) {
|
||||
throw DL_ABORT_EX("Initializing z_stream failed.");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue