From fa7066f81839060d0a49f674625e6382233dcd3d Mon Sep 17 00:00:00 2001 From: shugo Date: Tue, 29 Nov 2016 08:44:21 +0000 Subject: Suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/net/ftp.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/net/ftp.rb') diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb index 47501a6824..601d2cb4c3 100644 --- a/lib/net/ftp.rb +++ b/lib/net/ftp.rb @@ -242,6 +242,7 @@ module Net raise ArgumentError, "private_data_connection can be set to true only when ssl is enabled" end + @private_data_connection = false end @binary = true if options[:passive].nil? -- cgit v1.2.3