about summary refs log tree commit homepage
path: root/lib/rainbows/xepoll_thread_spawn/client.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/xepoll_thread_spawn/client.rb')
-rw-r--r--lib/rainbows/xepoll_thread_spawn/client.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rainbows/xepoll_thread_spawn/client.rb b/lib/rainbows/xepoll_thread_spawn/client.rb
index 7e02f82..8cb3d27 100644
--- a/lib/rainbows/xepoll_thread_spawn/client.rb
+++ b/lib/rainbows/xepoll_thread_spawn/client.rb
@@ -104,14 +104,14 @@ module Rainbows::XEpollThreadSpawn::Client
   end
 
   def pipeline_ready(hp)
-    env = hp.parse and return env
+    hp.parse and return true
     case buf = kgio_tryread(HBUFSIZ)
     when :wait_readable
       kato_set
       return false
     when String
       hp.buf << buf
-      env = hp.parse and return env
+      hp.parse and return true
       # continue loop
     else
       return close