chore(http): Correct typos in error message and code comments (#423)

This commit is contained in:
Alexandre Detiste
2024-02-12 09:28:01 +01:00
committed by GitHub
parent fa69770e52
commit 98be8d9fc1
3 changed files with 6 additions and 6 deletions

View File

@ -225,7 +225,7 @@ local function adjust_headers(mesgt)
lower["date"] = lower["date"] or
os.date("!%a, %d %b %Y %H:%M:%S ") .. (mesgt.zone or _M.ZONE)
lower["x-mailer"] = lower["x-mailer"] or socket._VERSION
-- this can't be overriden
-- this can't be overridden
lower["mime-version"] = "1.0"
return lower
end
@ -253,4 +253,4 @@ _M.send = socket.protect(function(mailt)
return s:close()
end)
return _M
return _M