Software /
code /
prosody-modules
Diff
mod_auth_http_async/mod_auth_http_async.lua @ 1938:cfe73f64ad29
mod_auth_http_async: Fix syntax error
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 28 Oct 2015 15:03:49 +0100 |
parent | 1932:3729245498ae |
child | 1939:54f9e8663139 |
line wrap: on
line diff
--- a/mod_auth_http_async/mod_auth_http_async.lua Mon Oct 26 20:17:12 2015 +0100 +++ b/mod_auth_http_async/mod_auth_http_async.lua Wed Oct 28 15:03:49 2015 +0100 @@ -18,7 +18,7 @@ local api_base = module:get_option_string("http_auth_url", ""):gsub("$host", host); if api_base == "" then error("http_auth_url required") end -local function async_http_request(url, ex); +local function async_http_request(url, ex) local wait, done = waiter(); local content, code, request, response;