mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2024-12-04 14:46:31 -05:00
Timing fixes
svn path=/trunk/thread/; revision=3808
This commit is contained in:
parent
30577a1391
commit
815158a582
@ -568,7 +568,7 @@ void thread_sleep(unsigned long len)
|
||||
struct timeval tv;
|
||||
|
||||
tv.tv_sec = len / 1000000;
|
||||
tv.tv_usec = (len % 1000000) / 1000;
|
||||
tv.tv_usec = (len % 1000000);
|
||||
|
||||
select(0, NULL, NULL, NULL, &tv);
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user