about summary refs log tree commit homepage
path: root/lib/rainbows/rack_input.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/rack_input.rb')
-rw-r--r--lib/rainbows/rack_input.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rainbows/rack_input.rb b/lib/rainbows/rack_input.rb
index df51ac1..bc68ed1 100644
--- a/lib/rainbows/rack_input.rb
+++ b/lib/rainbows/rack_input.rb
@@ -10,8 +10,8 @@ module Rainbows::RackInput
     const_set(:IC, Unicorn::HttpRequest.input_class)
   end
 
-  def set_input(env, hp, client)
-    env[RACK_INPUT] = 0 == hp.content_length ? NULL_IO : IC.new(client, hp)
-    env[CLIENT_IO] = client
+  def set_input(env, hp)
+    env[RACK_INPUT] = 0 == hp.content_length ? NULL_IO : IC.new(self, hp)
+    env[CLIENT_IO] = self
   end
 end