diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-01-19 18:22:51 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-01-19 18:22:51 +0000 |
commit | 3f1712ed48f9deab4fab67d7d342dc20c2b5b0ce (patch) | |
tree | 4843296b98ab3524b9cbed1c6428b101e8107492 /src/udp.c | |
parent | fbb42b80cb0d299f38e0a4df9b0fa01228b39225 (diff) | |
download | luasocket-3f1712ed48f9deab4fab67d7d342dc20c2b5b0ce.tar.gz luasocket-3f1712ed48f9deab4fab67d7d342dc20c2b5b0ce.tar.bz2 luasocket-3f1712ed48f9deab4fab67d7d342dc20c2b5b0ce.zip |
Added gethostname.
Cleaned up TODO.
Moved luasocket specific stuff from auxiliar.c to luasocket.c
Diffstat (limited to 'src/udp.c')
-rw-r--r-- | src/udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -417,7 +417,7 @@ static int meth_setsockname(lua_State *L) | |||
417 | /*-------------------------------------------------------------------------*\ | 417 | /*-------------------------------------------------------------------------*\ |
418 | * Creates a master udp object | 418 | * Creates a master udp object |
419 | \*-------------------------------------------------------------------------*/ | 419 | \*-------------------------------------------------------------------------*/ |
420 | int global_create(lua_State *L) | 420 | static int global_create(lua_State *L) |
421 | { | 421 | { |
422 | t_sock sock; | 422 | t_sock sock; |
423 | const char *err = inet_trycreate(&sock, SOCK_DGRAM); | 423 | const char *err = inet_trycreate(&sock, SOCK_DGRAM); |