From 207b8b27a5ffc27f663353986cc7ea6af8ff8fc0 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Wed, 5 Jan 2011 06:34:23 +0500 Subject: [PATCH] net.httpserver: Removed unused import and variables. --- net/httpserver.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/httpserver.lua b/net/httpserver.lua index 6fd9b65e..d401f47c 100644 --- a/net/httpserver.lua +++ b/net/httpserver.lua @@ -7,7 +7,6 @@ -- -local socket = require "socket" local server = require "net.server" local url_parse = require "socket.url".parse; local httpstream_new = require "util.httpstream".new; @@ -17,7 +16,6 @@ local connlisteners_get = require "net.connlisteners".get; local listener; local t_insert, t_concat = table.insert, table.concat; -local s_match, s_gmatch = string.match, string.gmatch; local tonumber, tostring, pairs, ipairs, type = tonumber, tostring, pairs, ipairs, type; local urlencode = function (s) return s and (s:gsub("%W", function (c) return ("%%%02x"):format(c:byte()); end)); end -- 2.30.2