mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
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
This commit is contained in:
parent
fc07b3b0ad
commit
4dae731bbd
3 changed files with 26 additions and 18 deletions
|
@ -696,8 +696,7 @@ module Net
|
|||
|
||||
def writeline( str )
|
||||
writing {
|
||||
do_write str
|
||||
do_write "\r\n"
|
||||
do_write str + "\r\n"
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue