summaryrefslogtreecommitdiff
path: root/lib/rack/sendfile.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rack/sendfile.rb')
-rw-r--r--lib/rack/sendfile.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rack/sendfile.rb b/lib/rack/sendfile.rb
index bc04ca2f..554c4980 100644
--- a/lib/rack/sendfile.rb
+++ b/lib/rack/sendfile.rb
@@ -130,7 +130,7 @@ module Rack
body = []
when '', nil
else
- env['rack.errors'].puts "Unknown x-sendfile variation: '#{variation}'.\n"
+ env['rack.errors'].puts "Unknown x-sendfile variation: '#{type}'.\n"
end
end
[status, headers, body]