1
0
mirror of https://gitlab.xiph.org/xiph/icecast-common.git synced 2024-09-29 04:25:57 -04:00

Timing fixes

svn path=/trunk/thread/; revision=3808
This commit is contained in:
Michael Smith 2002-08-13 01:08:15 +00:00
parent 30577a1391
commit 815158a582

View File

@ -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