aboutsummaryrefslogtreecommitdiff
path: root/src/mime.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/mime.lua')
-rw-r--r--src/mime.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mime.lua b/src/mime.lua
index f6509a0..e112f8a 100644
--- a/src/mime.lua
+++ b/src/mime.lua
@@ -10,7 +10,9 @@
10----------------------------------------------------------------------------- 10-----------------------------------------------------------------------------
11local base = _G 11local base = _G
12local ltn12 = require("ltn12") 12local ltn12 = require("ltn12")
13local mime = require("cmime") 13local mime = require("mime.core")
14local io = require("io")
15local string = require("string")
14module("mime") 16module("mime")
15 17
16-- encode, decode and wrap algorithm tables 18-- encode, decode and wrap algorithm tables
@@ -49,8 +51,6 @@ decodet['quoted-printable'] = function()
49 return ltn12.filter.cycle(unqp, "") 51 return ltn12.filter.cycle(unqp, "")
50end 52end
51 53
52local io, string = io, string
53
54local function format(chunk) 54local function format(chunk)
55 if chunk then 55 if chunk then
56 if chunk == "" then return "''" 56 if chunk == "" then return "''"