aboutsummaryrefslogtreecommitdiff
path: root/src/udp.c
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-01-19 18:22:51 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-01-19 18:22:51 +0000
commit3f1712ed48f9deab4fab67d7d342dc20c2b5b0ce (patch)
tree4843296b98ab3524b9cbed1c6428b101e8107492 /src/udp.c
parentfbb42b80cb0d299f38e0a4df9b0fa01228b39225 (diff)
downloadluasocket-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udp.c b/src/udp.c
index c730206..c5e14d1 100644
--- a/src/udp.c
+++ b/src/udp.c
@@ -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\*-------------------------------------------------------------------------*/
420int global_create(lua_State *L) 420static 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);