diff options
author | Liam Devine <dmail00@gmail.com> | 2011-07-04 23:31:14 +0100 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2012-04-11 13:33:34 -0700 |
commit | e15ed19db6eb3385c1b35219c2dfa11953c3d47e (patch) | |
tree | 4e38a0b05ac7cbaaa449f2b32dc959409ceae9ea /src/inet.c | |
parent | a984607f28d0a802acaf1a16da225234af769baa (diff) | |
download | luasocket-e15ed19db6eb3385c1b35219c2dfa11953c3d47e.tar.gz luasocket-e15ed19db6eb3385c1b35219c2dfa11953c3d47e.tar.bz2 luasocket-e15ed19db6eb3385c1b35219c2dfa11953c3d47e.zip |
Compiles with Lua 5.1.4 and Lua 5.2.0-beta, although the makefile needs sorting out to take maybe a version number and also the local paths need removing.
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}, |