Diff

mod_http_upload/mod_http_upload.lua @ 2666:99c0b1bacdcd

mod_http_upload: Where did those parenthesis come from?
author Kim Alvefur <zash@zash.se>
date Tue, 04 Apr 2017 00:11:05 +0200
parent 2665:cfb7936ff61f
child 2667:0c7802b95820
line wrap: on
line diff
--- a/mod_http_upload/mod_http_upload.lua	Tue Apr 04 00:06:19 2017 +0200
+++ b/mod_http_upload/mod_http_upload.lua	Tue Apr 04 00:11:05 2017 +0200
@@ -19,7 +19,7 @@
 local have_id, id = pcall(require, "util.id"); -- Only available in 0.10+
 local uuid = require"util.uuid".generate;
 if have_id then
-	uuid = id.medium();
+	uuid = id.medium;
 end
 
 local function join_path(...) -- COMPAT util.path was added in 0.10