diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-12-20 03:27:48 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-12-20 03:27:48 +0000 |
commit | 6d36661c5eb87831cc60fa416470c8459d2a16c0 (patch) | |
tree | 00529514d500f3d217772d63d28654daf878f573 /lib/ftplib.rb | |
parent | 6f4751f5f63d177534f34e0c278967883e11c035 (diff) | |
download | ruby-6d36661c5eb87831cc60fa416470c8459d2a16c0.tar.gz |
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/ftplib.rb')
-rw-r--r-- | lib/ftplib.rb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/ftplib.rb b/lib/ftplib.rb index 9336e0a8c2..494c3bef83 100644 --- a/lib/ftplib.rb +++ b/lib/ftplib.rb @@ -1,7 +1,7 @@ ## ftplib.rb -# Author: Shugo Maeda <shugo@po.aianet.ne.jp> -# Version: $Revision: 1.7 $ +# Author: Shugo Maeda <shugo@netlab.co.jp> +# Version: 1.7.1 ## Code: @@ -15,9 +15,6 @@ class FTPPermError < FTPError; end class FTPProtoError < FTPError; end class FTP - - RCS_ID = %q$Id: ftplib.rb,v 1.7 1998/04/13 12:34:24 shugo Exp shugo $ - include MonitorMixin FTP_PORT = 21 @@ -311,7 +308,7 @@ class FTP buf = file.gets break if buf == nil if buf[-2, 2] != CRLF - buf = buf.chop + CRLF + buf = buf.chomp + CRLF end conn.write(buf) callback.call(buf) if use_callback |