aboutsummaryrefslogtreecommitdiff
path: root/src/luasocket.c
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/luasocket.c
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/luasocket.c')
-rw-r--r--src/luasocket.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/luasocket.c b/src/luasocket.c
index d329d4e..26bc014 100644
--- a/src/luasocket.c
+++ b/src/luasocket.c
@@ -56,5 +56,13 @@ LUASOCKET_API int lua_socketlibopen(lua_State *L)
56 buf_open(L); 56 buf_open(L);
57 tcps_open(L); 57 tcps_open(L);
58 udp_open(L); 58 udp_open(L);
59 return 1; 59#if LUASOCKET_DEBUG
60 lua_dofile(L, "concat.lua");
61 lua_dofile(L, "code.lua");
62 lua_dofile(L, "url.lua");
63 lua_dofile(L, "http.lua");
64 lua_dofile(L, "smtp.lua");
65 lua_dofile(L, "ftp.lua");
66#endif
67 return 0;
60} 68}