diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-21 12:56:17 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-21 12:56:17 +0000 |
commit | f6fb038dee4a385e7d4e3b2816a96157401953b0 (patch) | |
tree | ea99caf246e2cbb70d89e279d56ab3d6da687df0 /symbian | |
parent | acb10b8c32a7235b56e4f4346e8ed6bf5026166a (diff) | |
download | ruby-f6fb038dee4a385e7d4e3b2816a96157401953b0.tar.gz |
* lib/net/ftp.rb (Net::FTP#retrbinary): close only if conn is not nil
because transfercmd may fail and return nil.
* lib/net/ftp.rb (Net::FTP#retrlines): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'symbian')
0 files changed, 0 insertions, 0 deletions