summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2013-07-14 20:09:27 -0700
committerSantiago Pastorino <santiago@wyeworks.com>2013-07-16 16:04:39 -0300
commit1cf5f01be7f18585d89bf652ce8ad8ed68eb9087 (patch)
tree2c1f328bddc521e7bb1bfd42e8b6f6d9f3422402
parentac590d055c936bb9a618e955a690dc836c625211 (diff)
downloadrack-1cf5f01be7f18585d89bf652ce8ad8ed68eb9087.tar.gz
Merge pull request #585 from MSch/patch-1
Fix bug in 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]