Fixed smtp.lua loading.

Adjusted tftp module.
Added some comments.
This commit is contained in:
Diego Nehab
2004-06-16 01:02:07 +00:00
parent 843a431ef9
commit d46f7a09a7
20 changed files with 162 additions and 139 deletions

View File

@ -1,5 +1,5 @@
/*=========================================================================*\
* Encoding support functions
* MIME support functions
* LuaSocket toolkit
*
* RCS ID: $Id$
@ -653,7 +653,7 @@ static int mime_global_eol(lua_State *L)
const char *marker = luaL_optstring(L, 3, CRLF);
luaL_Buffer buffer;
luaL_buffinit(L, &buffer);
/* if the last character was a candidate, we output a new line */
/* end of input blackhole */
if (!input) {
lua_pushnil(L);
lua_pushnumber(L, 0);