diff options
Diffstat (limited to 'src/udp.c')
-rw-r--r-- | src/udp.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 | ||