diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-03-08 08:39:40 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-03-08 08:39:40 +0000 |
commit | 5c630f2024054fe056764d1031d1394dca98012f (patch) | |
tree | 3db6cf108568d38c3f96a39d4a894e570df216ba /lib | |
parent | ce9a8bd9c26fb883219d7135d2d613b16577ac26 (diff) |
aamine
* lib/net/protocol.rb: one write(2) per one line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/net/protocol.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/net/protocol.rb b/lib/net/protocol.rb index 0b7090b825..c9ff791dbd 100644 --- a/lib/net/protocol.rb +++ b/lib/net/protocol.rb @@ -694,8 +694,7 @@ module Net def writeline( str ) writing { - do_write str - do_write "\r\n" + do_write str + "\r\n" } end |