commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwins...@apache.org
Subject svn commit: r921292 - /commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/ftp/FTPClient.java
Date Wed, 10 Mar 2010 10:31:50 GMT
Author: rwinston
Date: Wed Mar 10 10:31:49 2010
New Revision: 921292

URL: http://svn.apache.org/viewvc?rev=921292&view=rev
Log:
Oops - using wrong argument for bound port

Modified:
    commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/ftp/FTPClient.java

Modified: commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/ftp/FTPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/ftp/FTPClient.java?rev=921292&r1=921291&r2=921292&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/ftp/FTPClient.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/ftp/FTPClient.java
Wed Mar 10 10:31:49 2010
@@ -519,7 +519,7 @@ implements Configurable
 				}
 
 				if (!FTPReply.isPositiveCompletion(port(getHostAddress(),
-						getActivePort())))
+						server.getLocalPort())))
 				{
 					server.close();
 					return null;



Mime
View raw message