summary refs log tree commit
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2013-07-14 20:09:27 -0700
committerSantiago Pastorino <santiago@wyeworks.com>2013-07-14 20:09:27 -0700
commit6829a8a0f416ea49a18f1e3e532ed1ece24e9ea4 (patch)
tree8953e40f14f85295151f2a873f626a3d9eb86e0e
parenta956697d0ea8502c426c29b3d247b9b641764eff (diff)
parent58c24bbafdd476d16d9c3778b2455625bb27f67e (diff)
downloadrack-6829a8a0f416ea49a18f1e3e532ed1ece24e9ea4.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 c247a3bc..8a674904 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]