commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ima...@apache.org
Subject svn commit: r452186 - /jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/sftp/SftpClientFactory.java
Date Mon, 02 Oct 2006 19:52:32 GMT
Author: imario
Date: Mon Oct  2 12:52:32 2006
New Revision: 452186

URL: http://svn.apache.org/viewvc?view=rev&rev=452186
Log:
VFS-83: fixed wrong parameter to sftp compression

Modified:
    jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/sftp/SftpClientFactory.java

Modified: jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/sftp/SftpClientFactory.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/sftp/SftpClientFactory.java?view=diff&rev=452186&r1=452185&r2=452186
==============================================================================
--- jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/sftp/SftpClientFactory.java
(original)
+++ jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/sftp/SftpClientFactory.java
Mon Oct  2 12:52:32 2006
@@ -155,8 +155,8 @@
             String compression = SftpFileSystemConfigBuilder.getInstance().getCompression(fileSystemOptions);
             if (compression != null)
             {
-                config.setProperty("compression.s2c", strictHostKeyChecking);
-                config.setProperty("compression.c2s", strictHostKeyChecking);
+                config.setProperty("compression.s2c", compression);
+                config.setProperty("compression.c2s", compression);
             }
 
             //set properties for the session



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message