* 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
This commit is contained in:
aamine 2001-03-08 08:39:40 +00:00
parent fc07b3b0ad
commit 4dae731bbd
3 changed files with 26 additions and 18 deletions

View file

@ -696,8 +696,7 @@ module Net
def writeline( str )
writing {
do_write str
do_write "\r\n"
do_write str + "\r\n"
}
end