aboutsummaryrefslogtreecommitdiff
path: root/src/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/udp.c')
-rw-r--r--src/udp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/udp.c b/src/udp.c
index 19cefe6..4770a2e 100644
--- a/src/udp.c
+++ b/src/udp.c
@@ -90,8 +90,7 @@ int udp_open(lua_State *L)
90 aux_add2group(L, "udp{connected}", "select{able}"); 90 aux_add2group(L, "udp{connected}", "select{able}");
91 aux_add2group(L, "udp{unconnected}", "select{able}"); 91 aux_add2group(L, "udp{unconnected}", "select{able}");
92 /* define library functions */ 92 /* define library functions */
93 luaL_openlib(L, LUASOCKET_LIBNAME, func, 0); 93 luaL_openlib(L, NULL, func, 0);
94 lua_pop(L, 1);
95 return 0; 94 return 0;
96} 95}
97 96