# HG changeset patch # User Kim Alvefur # Date 1522410116 -7200 # Node ID c89be016a0755bd7cddc1d51771ee3221987802e # Parent c5122b7633a8b2859d2325bb14fdab02613b080e mod_http_logging: Fix typo [luacheck] diff -r c5122b7633a8 -r c89be016a075 mod_http_logging/mod_http_logging.lua --- a/mod_http_logging/mod_http_logging.lua Fri Mar 30 13:40:50 2018 +0200 +++ b/mod_http_logging/mod_http_logging.lua Fri Mar 30 13:41:56 2018 +0200 @@ -17,7 +17,7 @@ local function get_content_len(response, body) local len = response.headers.content_length; if len then return len; end - if not body then body = request.body; end + if not body then body = response.body; end if body then return #tostring(body); end end