diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-10 13:28:26 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-10 13:28:26 +0000 |
commit | 373747ab109d80b74535d13e38c83cb31be45472 (patch) | |
tree | 974a3d48bf9270f12c619cb4e55718c754d8afe2 | |
parent | 58ec532ac9d6bc8913bc681d922a34d2d9ecf4b0 (diff) | |
download | ruby-373747ab109d80b74535d13e38c83cb31be45472.tar.gz |
* lib/net/protocol.rb (each_crlf_line): remove junk line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/net/protocol.rb | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Mon May 10 22:28:14 2004 Minero Aoki <aamine@loveruby.net> + + * lib/net/protocol.rb (each_crlf_line): remove junk line. + Mon May 10 21:44:42 2004 Dave Thomas <dave@pragprog.com> * lib/rdoc/generators/html_generator.rb: Change scheme for diff --git a/lib/net/protocol.rb b/lib/net/protocol.rb index aaed060a51..1ba18d816b 100644 --- a/lib/net/protocol.rb +++ b/lib/net/protocol.rb @@ -278,7 +278,6 @@ module Net # :nodoc: yield if not @wbuf.empty? # unterminated last line write0 @wbuf.chomp + "\r\n" - @wbuf.string = '' elsif @written_bytes == 0 # empty src write0 "\r\n" end |