diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-05-19 07:07:11 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-05-19 07:07:11 +0000 |
commit | 4fc164b8eaa0453050a0a859321c327bb2c4f776 (patch) | |
tree | 3fee5b42fa8fe0a4d13e98d6f0143cde001151f6 | |
parent | d92132e87a48368db849f8ba8f30ff8ce5de6156 (diff) | |
download | luasocket-4fc164b8eaa0453050a0a859321c327bb2c4f776.tar.gz luasocket-4fc164b8eaa0453050a0a859321c327bb2c4f776.tar.bz2 luasocket-4fc164b8eaa0453050a0a859321c327bb2c4f776.zip |
Releasing LTN012.
-rw-r--r-- | src/mime.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mime.lua b/src/mime.lua index d263d48..37756c7 100644 --- a/src/mime.lua +++ b/src/mime.lua | |||
@@ -11,7 +11,7 @@ decodet = {} | |||
11 | wrapt = {} | 11 | wrapt = {} |
12 | 12 | ||
13 | -- creates a function that chooses a filter by name from a given table | 13 | -- creates a function that chooses a filter by name from a given table |
14 | function choose(table) | 14 | local function choose(table) |
15 | return function(name, opt1, opt2) | 15 | return function(name, opt1, opt2) |
16 | if type(name) ~= "string" then | 16 | if type(name) ~= "string" then |
17 | name, opt1, opt2 = "default", name, opt1 | 17 | name, opt1, opt2 = "default", name, opt1 |