bug in queue removal

r1659 | dcl | 2007-03-16 09:03:13 +1100 (Fri, 16 Mar 2007) | 2 lines
This commit is contained in:
Douglas Clowes
2007-03-16 09:03:13 +11:00
parent ede6b30125
commit 3b7496b7ce

View File

@@ -271,6 +271,7 @@ static int NetWatchContextRemQue(pNetWatch self, pNWContext handle)
pNxt->next = pNxt->next->next;
break;
}
pNxt = pNxt->next;
}
if (handle == self->cq_tail) /* if last */
self->cq_tail = pNxt;