From: Michael V. D. <mv...@va...> - 2004-02-05 01:06:45
|
On Wed, 04 Feb 2004 18:59:25 -0500, Steve Kann <st...@st...> wrote: > >If this only happens on windows, one place I'd look it to make sure the=20 >"gettimeofday" replacement there is correct; it's in winfuncs.c. It's=20 >basically adapted from the earlier hack in libiax "winiphone".. > I see that you have: --8<-------- void gettimeofday(struct timeval *tv, struct timezone *tz) { long l =3D startuptime + GetTickCount(); tv->tv_sec =3D l / 1000; tv->tv_usec =3D (l % 1000) * 1000; return; } --8<-------- shouldn't you have, instead: tv->tv_usec =3D (l % 1000); |