diff options
| author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-12-21 06:35:05 +0000 |
|---|---|---|
| committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-12-21 06:35:05 +0000 |
| commit | 3ed65cc170b2af485f59a8bc519f2569765906ca (patch) | |
| tree | dc4f46a4b36f2dd270b9e92809d172ce57d804c7 | |
| parent | 40b8ff07484977ee820bc474485292dbeae86105 (diff) | |
| download | ruby-3ed65cc170b2af485f59a8bc519f2569765906ca.tar.gz ruby-3ed65cc170b2af485f59a8bc519f2569765906ca.tar.xz ruby-3ed65cc170b2af485f59a8bc519f2569765906ca.zip | |
shugo
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | lib/net/ftp.rb | 2 | ||||
| -rw-r--r-- | lib/net/imap.rb | 4 |
3 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,7 @@ +Thu Dec 21 13:01:46 2000 Tanaka Akira <akr@m17n.org> + + * lib/net/ftp.rb (makeport): don't use TCPsocket.getaddress. + Mon Dec 18 23:18:39 2000 WATANABE Hirofumi <eban@ruby-lang.org> * util.c (mblen, __crt0_glob_function): add for multibyte diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb index 7383b003c..88361b9dd 100644 --- a/lib/net/ftp.rb +++ b/lib/net/ftp.rb @@ -174,7 +174,7 @@ module Net def makeport sock = TCPserver.open(@sock.addr[3], 0) port = sock.addr[1] - host = TCPsocket.getaddress(@sock.addr[2]) + host = sock.addr[3] resp = sendport(host, port) return sock end diff --git a/lib/net/imap.rb b/lib/net/imap.rb index 06690ddeb..34d324ed1 100644 --- a/lib/net/imap.rb +++ b/lib/net/imap.rb @@ -22,10 +22,10 @@ Object port on the named host. : debug - Returns the debug mode + Returns the debug mode. : debug = val - Sets the debug mode + Sets the debug mode. : add_authenticator(auth_type, authenticator) Adds an authenticator for Net::IMAP#authenticate. |
