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

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
};