aboutsummaryrefslogtreecommitdiff
path: root/src/tcp.c
diff options
context:
space:
mode:
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