Mercurial > prosody-hg
diff plugins/mod_http_file_share.lua @ 13974:9974b210d620 13.0
mod_http_file_share: Split long line [luacheck]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 02 Oct 2025 21:09:29 +0200 |
| parents | 67b8f2ee41ed |
| children | eae7d0350a52 dfbc60d47668 |
line wrap: on
line diff
--- a/plugins/mod_http_file_share.lua Thu Oct 02 21:04:20 2025 +0200 +++ b/plugins/mod_http_file_share.lua Thu Oct 02 21:09:29 2025 +0200 @@ -352,7 +352,8 @@ local uploaded, err = errors.coerce(request.body_sink:close()); if final_size ~= upload_info.filesize then -- Could be too short as well, but we say the same thing - module:log("debug", "Final file size is %s but expected %s (%s difference)", B(final_size), B(upload_info.filesize), B(upload_info.filesize - final_size)); + module:log("debug", "Final file size is %s but expected %s (%s difference)", + B(final_size), B(upload_info.filesize), B(upload_info.filesize - final_size)); uploaded, err = false, upload_errors.new("filesize", { request = request }); end if uploaded then
