rainbows.git  about / heads / tags
Unicorn for sleepy apps and slow clients
   commit bbd10a035fcb17ac29fd658c243a44393b0d3ac2 (patch)
   parent 229286b quiet mismatched indentation warnings
     tree 099b6bccc5bc93016615e506b788e52584d80778
   author Eric Wong <e@80x24.org>  2018-05-18 06:44:59 +0000
committer Eric Wong <e@80x24.org>  2019-01-02 21:40:46 +0000

t/hijack.ru: avoid shadow warning

---
 t/hijack.ru | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/hijack.ru b/t/hijack.ru
index 16b5f38..f02507f 100644
--- a/t/hijack.ru
+++ b/t/hijack.ru
@@ -46,7 +46,7 @@ run lambda { |env|
       {
         "Content-Length" => r.bytesize.to_s,
         "rack.hijack" => proc do |sock|
-          io.write(r)
+          sock.write(r)
           lazy_close(sock)
         end
       },


glossary
--------
Commit objects reference one tree, and zero or more parents.

Single parent commits can typically generate a patch in
unified diff format via `git format-patch'.

Multiple parents means the commit is a merge.

Root commits have no ancestor.  Note that it is
possible to have multiple root commits when merging independent histories.

Every commit references one top-level tree object.

git clone http://yhbt.net/rainbows.git