summaryrefslogtreecommitdiff
path: root/lib/net/ftp.rb
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-29 08:44:21 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-29 08:44:21 +0000
commitfa7066f81839060d0a49f674625e6382233dcd3d (patch)
tree71e630a13b4af84f50d44f10d274bd6eab038531 /lib/net/ftp.rb
parentddfa6e2b530c7af963dd03157bd28ade5d789079 (diff)
Suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/ftp.rb')
-rw-r--r--lib/net/ftp.rb1
1 files changed, 1 insertions, 0 deletions
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?