Possible bug in HTTimer.

Hello,
  File HTTimer.c, line 266, function HTTimer_refresh. This function receives 
the following parameters: HTTimer *timer and ms_t now. But it never uses the 
second parameter:

PUBLIC BOOL HTTimer_refresh (HTTimer * timer, ms_t now) {
  if (timer == NULL || timer->repetitive == NO)
    return NO;
  if (HTTimer_new(timer, timer->cbf, timer->param, timer->millis, YES, YES) 
== NULL)
    return NO;
  return YES;
}

Maybe the new timer should be created with time "now" instead of 
"timer->millis"? Unfortunately I was not able to check it because found no 
comments concerning this function.

Best regards,
Grigory.

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

Received on Thursday, 14 March 2002 05:38:42 UTC