summaryrefslogtreecommitdiff
path: root/lib/net/protocol.rb
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-06 08:34:39 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-06 08:34:39 +0000
commit37ea653080579e30a912d32c50b76b8c1a5619a7 (patch)
tree0ad4d2b7fd2b61e22f83471f3327f1eace3bb8ae /lib/net/protocol.rb
parentbd7c46a7aa8b4f44ef683e22f469033b96d3dd5f (diff)
fix r63587 with temporal patch to pass the tests. please re-fix it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/protocol.rb')
-rw-r--r--lib/net/protocol.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/protocol.rb b/lib/net/protocol.rb
index cf9fc3d434..94903afdfc 100644
--- a/lib/net/protocol.rb
+++ b/lib/net/protocol.rb
@@ -245,7 +245,7 @@ module Net # :nodoc:
def write0(*strs)
@debug_output << strs.map(&:dump).join if @debug_output
- case len = @io.write_nonblock(*strs, exception: false)
+ case len = @io.write_nonblock(strs.join, exception: false)
when Integer
orig_len = len
strs.each_with_index do |str, i|