From 373747ab109d80b74535d13e38c83cb31be45472 Mon Sep 17 00:00:00 2001 From: aamine Date: Mon, 10 May 2004 13:28:26 +0000 Subject: [PATCH] * 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 --- ChangeLog | 4 ++++ lib/net/protocol.rb | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 05fcbaf6b6..4911798de1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon May 10 22:28:14 2004 Minero Aoki + + * lib/net/protocol.rb (each_crlf_line): remove junk line. + Mon May 10 21:44:42 2004 Dave Thomas * 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