From ee9e7886d9101a6376d268a931c645026e9f6b0f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 15 Mar 2011 21:44:14 +0000 Subject: fiber/io: fix broken call to Kgio.trywrite Fortunately it's a deprecated class that nobody uses... --- lib/rainbows/fiber/io.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rainbows/fiber') diff --git a/lib/rainbows/fiber/io.rb b/lib/rainbows/fiber/io.rb index 4c7864d..da377d0 100644 --- a/lib/rainbows/fiber/io.rb +++ b/lib/rainbows/fiber/io.rb @@ -45,7 +45,7 @@ class Rainbows::Fiber::IO end def write(buf) - case rv = Kgio.trywrite(buf) + case rv = Kgio.trywrite(@to_io, buf) when String buf = rv when :wait_writable -- cgit v1.2.3-24-ge0c7