diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-29 08:44:21 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-29 08:44:21 +0000 |
commit | 32395639b564789a983fad751747b717b11edb96 (patch) | |
tree | 71e630a13b4af84f50d44f10d274bd6eab038531 /lib/net/ftp.rb | |
parent | 688fbc40014051280b4a65d471a09b377e5895cf (diff) | |
download | ruby-32395639b564789a983fad751747b717b11edb96.tar.gz |
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.rb | 1 |
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? |