Commit bc938951 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

net_Accept: poll() takes milliseconds rather than microseconds

parent 98a7a012
...@@ -284,7 +284,7 @@ int __net_Accept( vlc_object_t *p_this, int *pi_fd, mtime_t i_wait ) ...@@ -284,7 +284,7 @@ int __net_Accept( vlc_object_t *p_this, int *pi_fd, mtime_t i_wait )
ufd[i].revents = 0; ufd[i].revents = 0;
} }
switch (poll (ufd, n, b_block ? 500 : i_wait)) switch (poll (ufd, n, b_block ? 500 : i_wait / 1000))
{ {
case -1: case -1:
if (net_errno != EINTR) if (net_errno != EINTR)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment