Comparison

net/http/server.lua @ 4727:5ebf4096a2e1

net.http.server: Remove unused variable
author Matthew Wild <mwild1@gmail.com>
date Fri, 27 Apr 2012 20:01:21 +0100
parent 4726:917a5ffb73f1
child 4735:474166c08319
comparison
equal deleted inserted replaced
4726:917a5ffb73f1 4727:5ebf4096a2e1
16 local legacy_httpserver = require "net.httpserver"; 16 local legacy_httpserver = require "net.httpserver";
17 17
18 local _M = {}; 18 local _M = {};
19 19
20 local sessions = {}; 20 local sessions = {};
21 local handlers = {};
22 21
23 local listener = {}; 22 local listener = {};
24 23
25 local function is_wildcard_event(event) 24 local function is_wildcard_event(event)
26 return event:sub(-2, -1) == "/*"; 25 return event:sub(-2, -1) == "/*";