Software /
code /
prosody-modules
Changeset
2971:c89be016a075
mod_http_logging: Fix typo [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 30 Mar 2018 13:41:56 +0200 |
parents | 2970:c5122b7633a8 |
children | 2972:67d6510c5f49 |
files | mod_http_logging/mod_http_logging.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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