aboutsummaryrefslogtreecommitdiff
path: root/src/smtp.lua
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2002-12-02 23:34:41 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2002-12-02 23:34:41 +0000
commitd7e80592a69c076991ed4f4cc15d5390e14d1f0b (patch)
tree5fd9c99742b4a03e6a66f940a1f86f98d4db50c8 /src/smtp.lua
parentb796207ce06a66b04cce6686b3fa664c06703995 (diff)
downloadluasocket-d7e80592a69c076991ed4f4cc15d5390e14d1f0b.tar.gz
luasocket-d7e80592a69c076991ed4f4cc15d5390e14d1f0b.tar.bz2
luasocket-d7e80592a69c076991ed4f4cc15d5390e14d1f0b.zip
Already compiling and running for Lua 5.0 (alpha)
Diffstat (limited to 'src/smtp.lua')
-rw-r--r--src/smtp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smtp.lua b/src/smtp.lua
index 72a0e5a..774dddb 100644
--- a/src/smtp.lua
+++ b/src/smtp.lua
@@ -19,7 +19,7 @@ Public.TIMEOUT = 180
19Public.PORT = 25 19Public.PORT = 25
20-- domain used in HELO command and default sendmail 20-- domain used in HELO command and default sendmail
21-- If we are under a CGI, try to get from environment 21-- If we are under a CGI, try to get from environment
22Public.DOMAIN = getenv("SERVER_NAME") or "localhost" 22Public.DOMAIN = os.getenv("SERVER_NAME") or "localhost"
23-- default server used to send e-mails 23-- default server used to send e-mails
24Public.SERVER = "localhost" 24Public.SERVER = "localhost"
25 25