aboutsummaryrefslogtreecommitdiff
path: root/src/smtp.lua
diff options
context:
space:
mode:
authorAlexandre Detiste <alexandre.detiste@gmail.com>2024-02-12 09:28:01 +0100
committerGitHub <noreply@github.com>2024-02-12 11:28:01 +0300
commit98be8d9fc1de19ec526cf7bee0d03a1e78262ba8 (patch)
treec1379f7456de6f543814a766af072480cc525b8d /src/smtp.lua
parentfa69770e52ba869feb8339d49e7c3c536953fbde (diff)
downloadluasocket-98be8d9fc1de19ec526cf7bee0d03a1e78262ba8.tar.gz
luasocket-98be8d9fc1de19ec526cf7bee0d03a1e78262ba8.tar.bz2
luasocket-98be8d9fc1de19ec526cf7bee0d03a1e78262ba8.zip
chore(http): Correct typos in error message and code comments (#423)
Diffstat (limited to '')
-rw-r--r--src/smtp.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smtp.lua b/src/smtp.lua
index b113d00..c26ce44 100644
--- a/src/smtp.lua
+++ b/src/smtp.lua
@@ -225,7 +225,7 @@ local function adjust_headers(mesgt)
225 lower["date"] = lower["date"] or 225 lower["date"] = lower["date"] or
226 os.date("!%a, %d %b %Y %H:%M:%S ") .. (mesgt.zone or _M.ZONE) 226 os.date("!%a, %d %b %Y %H:%M:%S ") .. (mesgt.zone or _M.ZONE)
227 lower["x-mailer"] = lower["x-mailer"] or socket._VERSION 227 lower["x-mailer"] = lower["x-mailer"] or socket._VERSION
228 -- this can't be overriden 228 -- this can't be overridden
229 lower["mime-version"] = "1.0" 229 lower["mime-version"] = "1.0"
230 return lower 230 return lower
231end 231end
@@ -253,4 +253,4 @@ _M.send = socket.protect(function(mailt)
253 return s:close() 253 return s:close()
254end) 254end)
255 255
256return _M \ No newline at end of file 256return _M