aboutsummaryrefslogtreecommitdiff
path: root/etc/qp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'etc/qp.lua')
-rw-r--r--etc/qp.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/qp.lua b/etc/qp.lua
index 23c834a..1ca0ae2 100644
--- a/etc/qp.lua
+++ b/etc/qp.lua
@@ -2,10 +2,10 @@ local convert
2arg = arg or {} 2arg = arg or {}
3local mode = arg and arg[1] or "-et" 3local mode = arg and arg[1] or "-et"
4if mode == "-et" then 4if mode == "-et" then
5 local canonic = socket.mime.canonic() 5 local normalize = socket.mime.normalize()
6 local qp = socket.mime.encode("quoted-printable") 6 local qp = socket.mime.encode("quoted-printable")
7 local wrap = socket.mime.wrap("quoted-printable") 7 local wrap = socket.mime.wrap("quoted-printable")
8 convert = socket.mime.chain(canonic, qp, wrap) 8 convert = socket.mime.chain(normalize, qp, wrap)
9elseif mode == "-eb" then 9elseif mode == "-eb" then
10 local qp = socket.mime.encode("quoted-printable", "binary") 10 local qp = socket.mime.encode("quoted-printable", "binary")
11 local wrap = socket.mime.wrap("quoted-printable") 11 local wrap = socket.mime.wrap("quoted-printable")