From 1cf5f01be7f18585d89bf652ce8ad8ed68eb9087 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Sun, 14 Jul 2013 20:09:27 -0700 Subject: Merge pull request #585 from MSch/patch-1 Fix bug in sendfile.rb --- lib/rack/sendfile.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- cgit v1.2.1