diff plugins/mod_http_file_share.lua @ 13975:eae7d0350a52

Merge 13.0->trunk
author Kim Alvefur <zash@zash.se>
date Thu, 02 Oct 2025 21:09:51 +0200
parents 1746a6bd4644 9974b210d620
children b688908622a1
line wrap: on
line diff
--- a/plugins/mod_http_file_share.lua	Thu Oct 02 21:08:15 2025 +0200
+++ b/plugins/mod_http_file_share.lua	Thu Oct 02 21:09:51 2025 +0200
@@ -354,7 +354,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