about summary refs log tree commit homepage
path: root/lib/rainbows/revactor
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-12-26 23:52:43 +0000
committerEric Wong <normalperson@yhbt.net>2010-12-26 23:52:43 +0000
commitc4d92b384dd3f926fa12eb704eeef663a9cb7b66 (patch)
treecf369801f6d7661d7a56bf077095559905d4f9cc /lib/rainbows/revactor
parent2e131bfd21f5ec5acc3c86233e5e292cec7aa67d (diff)
downloadrainbows-c4d92b384dd3f926fa12eb704eeef663a9cb7b66.tar.gz
This should make things easier on the eyes.
Diffstat (limited to 'lib/rainbows/revactor')
-rw-r--r--lib/rainbows/revactor/body.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/revactor/body.rb b/lib/rainbows/revactor/body.rb
index 1dd01f2..ad2bc55 100644
--- a/lib/rainbows/revactor/body.rb
+++ b/lib/rainbows/revactor/body.rb
@@ -9,7 +9,7 @@ module Rainbows::Revactor::Body
   if IO.method_defined?(:sendfile_nonblock)
     def write_body_file(client, body, range)
       sock = client.instance_variable_get(:@_io)
-      pfx = ::Revactor::TCP::Socket === client ? :tcp : :unix
+      pfx = Revactor::TCP::Socket === client ? :tcp : :unix
       write_complete = T[:"#{pfx}_write_complete", client]
       closed = T[:"#{pfx}_closed", client]
       offset, count = range ? range : [ 0, body.stat.size ]