diff options
Diffstat (limited to 'stream/udp.c')
-rw-r--r-- | stream/udp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/udp.c b/stream/udp.c index 67e8f04f98..4158eb473c 100644 --- a/stream/udp.c +++ b/stream/udp.c @@ -163,8 +163,8 @@ udp_open_socket (URL_t *url) } } - tv.tv_sec = 0; - tv.tv_usec = (1 * 1000000); /* 1 second timeout */ + tv.tv_sec = 1; /* 1 second timeout */ + tv.tv_usec = 0; FD_ZERO (&set); FD_SET (socket_server_fd, &set); |