fix timer queue removal chain following
r1618 | dcl | 2007-03-09 12:33:13 +1100 (Fri, 09 Mar 2007) | 2 lines
This commit is contained in:
1
nwatch.c
1
nwatch.c
@@ -136,6 +136,7 @@ static int NetWatchTimerRemQue(pNetWatch self, pNWTimer handle)
|
|||||||
pNxt->next = pNxt->next->next;
|
pNxt->next = pNxt->next->next;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
pNxt = pNxt->next;
|
||||||
}
|
}
|
||||||
/* It it was the last entry, point tail to its predecessor */
|
/* It it was the last entry, point tail to its predecessor */
|
||||||
if (handle == self->tq_tail)
|
if (handle == self->tq_tail)
|
||||||
|
|||||||
Reference in New Issue
Block a user