diff options
Diffstat (limited to 'src/inet.c')
-rw-r--r-- | src/inet.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ static void inet_pushresolved(lua_State *L, struct hostent *hp); | |||
22 | static int inet_global_gethostname(lua_State *L); | 22 | static int inet_global_gethostname(lua_State *L); |
23 | 23 | ||
24 | /* DNS functions */ | 24 | /* DNS functions */ |
25 | static luaL_reg func[] = { | 25 | static luaL_Reg func[] = { |
26 | { "toip", inet_global_toip}, | 26 | { "toip", inet_global_toip}, |
27 | { "getaddrinfo", inet_global_getaddrinfo}, | 27 | { "getaddrinfo", inet_global_getaddrinfo}, |
28 | { "tohostname", inet_global_tohostname}, | 28 | { "tohostname", inet_global_tohostname}, |