Diff

mod_http_upload/mod_http_upload.lua @ 2476:024a4143baef

mod_http_upload: Add missing return statement
author Kim Alvefur <zash@zash.se>
date Sun, 29 Jan 2017 19:14:47 +0100
parent 2475:54c42b097984
child 2477:c32ca5ad2539
line wrap: on
line diff
--- a/mod_http_upload/mod_http_upload.lua	Sun Jan 29 18:12:43 2017 +0100
+++ b/mod_http_upload/mod_http_upload.lua	Sun Jan 29 19:14:47 2017 +0100
@@ -19,7 +19,7 @@
 local s_upper = string.upper;
 
 local function join_path(...)
-	table.concat({ ... }, package.config:sub(1,1));
+	return table.concat({ ... }, package.config:sub(1,1));
 end
 
 -- config