bug in queue removal
r1659 | dcl | 2007-03-16 09:03:13 +1100 (Fri, 16 Mar 2007) | 2 lines
This commit is contained in:
1
nwatch.c
1
nwatch.c
@@ -271,6 +271,7 @@ static int NetWatchContextRemQue(pNetWatch self, pNWContext handle)
|
|||||||
pNxt->next = pNxt->next->next;
|
pNxt->next = pNxt->next->next;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
pNxt = pNxt->next;
|
||||||
}
|
}
|
||||||
if (handle == self->cq_tail) /* if last */
|
if (handle == self->cq_tail) /* if last */
|
||||||
self->cq_tail = pNxt;
|
self->cq_tail = pNxt;
|
||||||
|
|||||||
Reference in New Issue
Block a user