summaryrefslogtreecommitdiff
path: root/lib/net/protocol.rb
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-03-08 08:39:40 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-03-08 08:39:40 +0000
commit4dae731bbd067cd1cae8ecf42ede0a4ac7c16bc8 (patch)
tree41aa2cc002acd295032914aab61a26d6f3d683ba /lib/net/protocol.rb
parentfc07b3b0ad1415ab93352246474251dd97700423 (diff)
aamine
* lib/net/protocol.rb: one write(2) per one line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/protocol.rb')
-rw-r--r--lib/net/protocol.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/net/protocol.rb b/lib/net/protocol.rb
index bed9463..7018158 100644
--- a/lib/net/protocol.rb
+++ b/lib/net/protocol.rb
@@ -696,8 +696,7 @@ module Net
def writeline( str )
writing {
- do_write str
- do_write "\r\n"
+ do_write str + "\r\n"
}
end