From: Michael V. D. <mv...@va...> - 2004-02-05 01:23:02
|
On Thu, 05 Feb 2004 12:08:32 +1100, Adam Hart <ad...@te...> = wrote: >usec is nanoseconds (1 second =3D a million nanoseconds) And I can't even blame this on not having my coffee yet. I was seeing = usec, but thinking msec. I don't know if I'm seeing something that's not there, but is anyone = suspicious that 65-67 second sounds an awful lot like 65536 msec? >----- Original Message -----=20 >From: "Michael Van Donselaar" <mv...@va...> >To: "Steve Kann" <st...@st...> >Cc: <iax...@li...> >Sent: Thursday, February 05, 2004 12:06 PM >Subject: Re: [Iaxclient-devel] Some data related to the new bug... > > >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); > > > >------------------------------------------------------- >The SF.Net email is sponsored by EclipseCon 2004 >Premiere Conference on Open Tools Development and Integration >See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >http://www.eclipsecon.org/osdn >_______________________________________________ >Iaxclient-devel mailing list >Iax...@li... >https://lists.sourceforge.net/lists/listinfo/iaxclient-devel > > >------------------------------------------------------- >The SF.Net email is sponsored by EclipseCon 2004 >Premiere Conference on Open Tools Development and Integration >See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >http://www.eclipsecon.org/osdn >_______________________________________________ >Iaxclient-devel mailing list >Iax...@li... >https://lists.sourceforge.net/lists/listinfo/iaxclient-devel |