W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2002

Possible bug in HTTimer.

From: Grigory Begelman <gbegelman@hotmail.com>
Date: Thu, 14 Mar 2002 10:38:10 +0000
To: www-lib@w3.org
Message-ID: <F18r6gz1Lz7ccDoXlFg00003ea2@hotmail.com>
  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,

Join the world’s largest e-mail service with MSN Hotmail. 
Received on Thursday, 14 March 2002 05:38:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:55 UTC