aboutsummaryrefslogtreecommitdiff
path: root/src/timeout.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/timeout.c')
-rw-r--r--src/timeout.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/timeout.c b/src/timeout.c
index 1d710dc..bd6c3b4 100644
--- a/src/timeout.c
+++ b/src/timeout.c
@@ -143,8 +143,7 @@ int tm_gettime(void)
143\*-------------------------------------------------------------------------*/ 143\*-------------------------------------------------------------------------*/
144int tm_open(lua_State *L) 144int tm_open(lua_State *L)
145{ 145{
146 luaL_openlib(L, LUASOCKET_LIBNAME, func, 0); 146 luaL_openlib(L, NULL, func, 0);
147 lua_pop(L, 1);
148 return 0; 147 return 0;
149} 148}
150 149