summary refs log tree commit homepage
path: root/lib/rainbows/event_machine.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-09-17 08:55:35 +0000
committerEric Wong <normalperson@yhbt.net>2010-09-17 08:55:35 +0000
commit11c75ec06ce72cea0c760161dc01a196500aa293 (patch)
treea6607d483045c4fe85baafd31041cb3fcd1ebbb4 /lib/rainbows/event_machine.rb
parentaaa01d6a15847c227c61254f7b8f0ee82275a94d (diff)
Noise is bad.
Diffstat (limited to 'lib/rainbows/event_machine.rb')
-rw-r--r--lib/rainbows/event_machine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/event_machine.rb b/lib/rainbows/event_machine.rb
index cf59cbf..5586d3e 100644
--- a/lib/rainbows/event_machine.rb
+++ b/lib/rainbows/event_machine.rb
@@ -70,7 +70,7 @@ module Rainbows
         if @body
           @buf << data
           @_io.shutdown(Socket::SHUT_RD) if @buf.size > 0x1c000
-          return EM.next_tick { receive_data('') }
+          EM.next_tick { receive_data('') }
         else
           on_read(data)
         end