aboutsummaryrefslogtreecommitdiff
path: root/src/usocket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usocket.c')
-rw-r--r--src/usocket.c3
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\*-------------------------------------------------------------------------*/
105int socket_select(int n, fd_set *rfds, fd_set *wfds, fd_set *efds, p_timeout tm) { 105int 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;