comparison mod_auth_http_async/mod_auth_http_async.lua @ 1932:3729245498ae

mod_auth_http_async: Remove unused variable
author Kim Alvefur <zash@zash.se>
date Sat, 24 Oct 2015 13:53:52 +0200
parents bd5412eb0a6d
children cfe73f64ad29
comparison
equal deleted inserted replaced
1931:bd5412eb0a6d 1932:3729245498ae
20 20
21 local function async_http_request(url, ex); 21 local function async_http_request(url, ex);
22 local wait, done = waiter(); 22 local wait, done = waiter();
23 23
24 local content, code, request, response; 24 local content, code, request, response;
25 local ret;
26 local function cb(content_, code_, request_, response_) 25 local function cb(content_, code_, request_, response_)
27 content, code, request, response = content_, code_, request_, response_; 26 content, code, request, response = content_, code_, request_, response_;
28 done(); 27 done();
29 end 28 end
30 http.request(url, ex, cb); 29 http.request(url, ex, cb);