smtp.c was eatten by mime.c

This commit is contained in:
Diego Nehab
2004-06-17 06:23:13 +00:00
parent 94b97bdc00
commit 613534c795
13 changed files with 92 additions and 48 deletions

View File

@ -11,11 +11,6 @@
local mime = requirelib("mime", "luaopen_mime", getfenv(1))
local ltn12 = require("ltn12")
-----------------------------------------------------------------------------
-- Setup namespace
-----------------------------------------------------------------------------
_LOADED["mime"] = mime
-- encode, decode and wrap algorithm tables
encodet = {}
decodet = {}
@ -73,3 +68,8 @@ wrap = choose(wrapt)
function normalize(marker)
return ltn12.filter.cycle(eol, 0, marker)
end
-- high level stuffing filter
function stuff()
return ltn12.filter.cycle(dot, 2)
end