aboutsummaryrefslogtreecommitdiff
path: root/src/smtp.lua
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2005-06-14 04:29:23 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2005-06-14 04:29:23 +0000
commit65c35845c54c7f84b1cf5b0e3d4c7bbdaf1014e3 (patch)
treef6e3f1a31451281ac2a347c3080e9749456dac29 /src/smtp.lua
parent8b114f3bf4ccea3b065551fa94649a9e45935b5b (diff)
downloadluasocket-65c35845c54c7f84b1cf5b0e3d4c7bbdaf1014e3.tar.gz
luasocket-65c35845c54c7f84b1cf5b0e3d4c7bbdaf1014e3.tar.bz2
luasocket-65c35845c54c7f84b1cf5b0e3d4c7bbdaf1014e3.zip
Working on the manual.
Diffstat (limited to 'src/smtp.lua')
-rw-r--r--src/smtp.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smtp.lua b/src/smtp.lua
index 944a40f..6850f7f 100644
--- a/src/smtp.lua
+++ b/src/smtp.lua
@@ -8,7 +8,7 @@
8----------------------------------------------------------------------------- 8-----------------------------------------------------------------------------
9-- Declare module and import dependencies 9-- Declare module and import dependencies
10----------------------------------------------------------------------------- 10-----------------------------------------------------------------------------
11local base = require("base") 11local base = _G
12local coroutine = require("coroutine") 12local coroutine = require("coroutine")
13local string = require("string") 13local string = require("string")
14local math = require("math") 14local math = require("math")
@@ -216,7 +216,7 @@ local function adjust_headers(mesgt)
216 end 216 end
217 lower["date"] = lower["date"] or 217 lower["date"] = lower["date"] or
218 os.date("!%a, %d %b %Y %H:%M:%S ") .. (mesgt.zone or ZONE) 218 os.date("!%a, %d %b %Y %H:%M:%S ") .. (mesgt.zone or ZONE)
219 lower["x-mailer"] = lower["x-mailer"] or socket.VERSION 219 lower["x-mailer"] = lower["x-mailer"] or socket._VERSION
220 -- this can't be overriden 220 -- this can't be overriden
221 lower["mime-version"] = "1.0" 221 lower["mime-version"] = "1.0"
222 mesgt.headers = lower 222 mesgt.headers = lower