Applied patch proposed in FTPSERVER-424
authorEmmanuel Lécharny <elecharny@symas.com>
Tue, 11 Apr 2017 08:29:16 +0000 (10:29 +0200)
committerEmmanuel Lécharny <elecharny@symas.com>
Tue, 11 Apr 2017 08:29:16 +0000 (10:29 +0200)
core/src/main/java/org/apache/ftpserver/impl/IODataConnectionFactory.java

index e9d22df..068e4c2 100644 (file)
@@ -223,7 +223,6 @@ public class IODataConnectionFactory implements ServerDataConnectionFactory {
 
             return new InetSocketAddress(address, port);
         } catch (Exception ex) {
-            servSoc = null;
             closeDataConnection();
             throw new DataConnectionException(
                     "Failed to initate passive data connection: "