diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2002-12-02 23:34:41 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2002-12-02 23:34:41 +0000 |
commit | d7e80592a69c076991ed4f4cc15d5390e14d1f0b (patch) | |
tree | 5fd9c99742b4a03e6a66f940a1f86f98d4db50c8 /src/smtp.lua | |
parent | b796207ce06a66b04cce6686b3fa664c06703995 (diff) | |
download | luasocket-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.lua | 2 |
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 | |||
19 | Public.PORT = 25 | 19 | Public.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 |
22 | Public.DOMAIN = getenv("SERVER_NAME") or "localhost" | 22 | Public.DOMAIN = os.getenv("SERVER_NAME") or "localhost" |
23 | -- default server used to send e-mails | 23 | -- default server used to send e-mails |
24 | Public.SERVER = "localhost" | 24 | Public.SERVER = "localhost" |
25 | 25 | ||