aboutsummaryrefslogtreecommitdiff
path: root/src/tcp.c
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-04 15:15:45 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-04 15:15:45 +0000
commit9ed7f955e5fc69af9bf1794fa2c8cd227981ba24 (patch)
tree8c3521366ef84f534bbec278437be7ea24e2ac1c /src/tcp.c
parent63d60223da9de60f873ca08a25dbd9512c998929 (diff)
downloadluasocket-9ed7f955e5fc69af9bf1794fa2c8cd227981ba24.tar.gz
luasocket-9ed7f955e5fc69af9bf1794fa2c8cd227981ba24.tar.bz2
luasocket-9ed7f955e5fc69af9bf1794fa2c8cd227981ba24.zip
Só pra não perder se der merda.
Diffstat (limited to 'src/tcp.c')
-rw-r--r--src/tcp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tcp.c b/src/tcp.c
index d0bc957..90cfcde 100644
--- a/src/tcp.c
+++ b/src/tcp.c
@@ -96,8 +96,7 @@ int tcp_open(lua_State *L)
96 aux_add2group(L, "tcp{client}", "select{able}"); 96 aux_add2group(L, "tcp{client}", "select{able}");
97 aux_add2group(L, "tcp{server}", "select{able}"); 97 aux_add2group(L, "tcp{server}", "select{able}");
98 /* define library functions */ 98 /* define library functions */
99 luaL_openlib(L, LUASOCKET_LIBNAME, func, 0); 99 luaL_openlib(L, NULL, func, 0);
100 lua_pop(L, 1);
101 return 0; 100 return 0;
102} 101}
103 102