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 | 25e07c0c931e7c00f5b0cbd566fe9c31b3d971e4 (patch) | |
tree | 974a3d48bf9270f12c619cb4e55718c754d8afe2 /lib/net/protocol.rb | |
parent | 719b459c6c8a08ea4f7f1e362a670df7d900f091 (diff) | |
download | ruby-25e07c0c931e7c00f5b0cbd566fe9c31b3d971e4.tar.gz ruby-25e07c0c931e7c00f5b0cbd566fe9c31b3d971e4.tar.xz ruby-25e07c0c931e7c00f5b0cbd566fe9c31b3d971e4.zip |
* lib/net/protocol.rb (each_crlf_line): remove junk line.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/protocol.rb')
-rw-r--r-- | lib/net/protocol.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/net/protocol.rb b/lib/net/protocol.rb index aaed060a5..1ba18d816 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 |