Swap compression mode preferences, prefer none over zlib by default

This commit is contained in:
Sara Golemon 2005-03-17 19:20:32 +00:00
parent a1b87a952c
commit 9f64f34dfe
2 changed files with 3 additions and 1 deletions

2
README
View File

@ -8,6 +8,8 @@ Version 0.8
Fix compatability with older versions of OpenSSL
Swapped order of none,zlib compression modes to prefer no compression by default.
Version 0.7
-----------

View File

@ -272,10 +272,10 @@ static LIBSSH2_COMP_METHOD libssh2_comp_method_zlib = {
*********************** */
static LIBSSH2_COMP_METHOD *_libssh2_comp_methods[] = {
&libssh2_comp_method_none,
#ifdef LIBSSH2_HAVE_ZLIB
&libssh2_comp_method_zlib,
#endif /* LIBSSH2_HAVE_ZLIB */
&libssh2_comp_method_none,
NULL
};