At 1:10 PM +0200 4/30/07, Jose Marcio Martins da Cruz wrote:

- lMsec = (tval.tv_usec + 500) / 1000; /* convert useconds to milliseconds */ + lMsec = tval.tv_usec / 1000; /* convert useconds to milliseconds */

So the code should truncate instead of round.  Thanks for the patch.
--
Randall Gellens
Opinions are personal;    facts are suspect;    I speak for myself only
-------------- Randomly-selected tag: ---------------
Arguments are to be avoided; they are always vulgar and often convincing.       
                              --Oscar Wilde

Reply via email to