diff options
author | Jamis Buck <jamis@37signals.com> | 2007-07-24 20:50:43 +0000 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2007-07-24 20:50:43 +0000 |
commit | 57a2e22b0873f99e9d6d66026df30de1296645da (patch) | |
tree | ff50f5108b681d1082f9e4d5c1a6aa3f011f4c18 /lib/net/ssh/buffer.rb | |
parent | 592989f573123bb8f91261f92d0978172829c541 (diff) | |
download | net-ssh-57a2e22b0873f99e9d6d66026df30de1296645da.tar.gz |
buffer writes, rather than sending immediately
git-svn-id: http://svn.jamisbuck.org/net-ssh/branches/v2@119 1d2a57f2-1ded-0310-ad52-83097a15a5de
Diffstat (limited to 'lib/net/ssh/buffer.rb')
-rw-r--r-- | lib/net/ssh/buffer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/ssh/buffer.rb b/lib/net/ssh/buffer.rb index 8467d25..5a981b1 100644 --- a/lib/net/ssh/buffer.rb +++ b/lib/net/ssh/buffer.rb @@ -182,7 +182,7 @@ module Net; module SSH # Writes the given data literally into the string. def write(*data) - @content << data.join + data.each { |datum| @content << datum } end # Writes each argument to the buffer as a network-byte-order-encoded |