aboutsummaryrefslogtreecommitdiff
path: root/src/mime.c
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-16 01:02:07 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-16 01:02:07 +0000
commitd46f7a09a768b146f2f3cdc9a6a50357832bd1c7 (patch)
treed4f7ca1e677d06446245691d5ece6dab51915f16 /src/mime.c
parent843a431ef98fd541d98fd3898463985d9bfcde28 (diff)
downloadluasocket-d46f7a09a768b146f2f3cdc9a6a50357832bd1c7.tar.gz
luasocket-d46f7a09a768b146f2f3cdc9a6a50357832bd1c7.tar.bz2
luasocket-d46f7a09a768b146f2f3cdc9a6a50357832bd1c7.zip
Fixed smtp.lua loading.
Adjusted tftp module. Added some comments.
Diffstat (limited to 'src/mime.c')
-rw-r--r--src/mime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mime.c b/src/mime.c
index 5750714..825b666 100644
--- a/src/mime.c
+++ b/src/mime.c
@@ -1,5 +1,5 @@
1/*=========================================================================*\ 1/*=========================================================================*\
2* Encoding support functions 2* MIME support functions
3* LuaSocket toolkit 3* LuaSocket toolkit
4* 4*
5* RCS ID: $Id$ 5* RCS ID: $Id$
@@ -653,7 +653,7 @@ static int mime_global_eol(lua_State *L)
653 const char *marker = luaL_optstring(L, 3, CRLF); 653 const char *marker = luaL_optstring(L, 3, CRLF);
654 luaL_Buffer buffer; 654 luaL_Buffer buffer;
655 luaL_buffinit(L, &buffer); 655 luaL_buffinit(L, &buffer);
656 /* if the last character was a candidate, we output a new line */ 656 /* end of input blackhole */
657 if (!input) { 657 if (!input) {
658 lua_pushnil(L); 658 lua_pushnil(L);
659 lua_pushnumber(L, 0); 659 lua_pushnumber(L, 0);