diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/clogger/pure.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/clogger/pure.rb b/lib/clogger/pure.rb index da2c1de..249733a 100644 --- a/lib/clogger/pure.rb +++ b/lib/clogger/pure.rb @@ -27,10 +27,10 @@ class Clogger end status, headers, body = resp headers = Rack::Utils::HeaderHash.new(headers) if @need_resp - if wrap_body? + if @wrap_body @reentrant = env['rack.multithread'] @env, @status, @headers, @body = env, status, headers, body - return [ status, headers, reentrant? ? self.dup : self ] + return [ status, headers, @reentrant ? self.dup : self ] end log(env, status, headers) [ status, headers, body ] |