diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-11-20 07:20:26 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-11-20 07:20:26 +0000 |
commit | f20f4889bfe5a02cd9b77868b90cc8042352176a (patch) | |
tree | 339e085e385190ea5f3a9246c3a790c45036c61c /src/usocket.c | |
parent | 087b4f865d861162eb32a4081bb7c2087688919a (diff) | |
download | luasocket-f20f4889bfe5a02cd9b77868b90cc8042352176a.tar.gz luasocket-f20f4889bfe5a02cd9b77868b90cc8042352176a.tar.bz2 luasocket-f20f4889bfe5a02cd9b77868b90cc8042352176a.zip |
Changed prefix of function names to match module names.
Removed some warnings and useless code.
Diffstat (limited to 'src/usocket.c')
-rw-r--r-- | src/usocket.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usocket.c b/src/usocket.c index e9db6dd..6a0b178 100644 --- a/src/usocket.c +++ b/src/usocket.c | |||
@@ -102,7 +102,8 @@ void socket_destroy(p_socket ps) { | |||
102 | /*-------------------------------------------------------------------------*\ | 102 | /*-------------------------------------------------------------------------*\ |
103 | * Select with timeout control | 103 | * Select with timeout control |
104 | \*-------------------------------------------------------------------------*/ | 104 | \*-------------------------------------------------------------------------*/ |
105 | int socket_select(int n, fd_set *rfds, fd_set *wfds, fd_set *efds, p_timeout tm) { | 105 | int socket_select(t_socket n, fd_set *rfds, fd_set *wfds, fd_set *efds, |
106 | p_timeout tm) { | ||
106 | int ret; | 107 | int ret; |
107 | do { | 108 | do { |
108 | struct timeval tv; | 109 | struct timeval tv; |