diff --git a/ChangeLog b/ChangeLog index a3927c9fb5..e7a5ccfd2a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Tue Nov 18 20:30:08 2008 Yukihiro Matsumoto + + * lib/net/ftp.rb (Net::FTP#open_socket): SOCKSsocket is obsolete. + a patch from Alan Johnson in + [ruby-core:19982]. + Tue Nov 18 16:18:23 2008 Nobuyoshi Nakada * lib/logger.rb (ProgName): fixed for svn, based on a patch from diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb index e0aa6f6adb..06cc3eafa2 100644 --- a/lib/net/ftp.rb +++ b/lib/net/ftp.rb @@ -170,9 +170,9 @@ module Net end def open_socket(host, port) - if defined? SOCKSsocket and ENV["SOCKS_SERVER"] + if defined? SOCKSSocket and ENV["SOCKS_SERVER"] @passive = true - return SOCKSsocket.open(host, port) + return SOCKSSocket.open(host, port) else return TCPSocket.open(host, port) end