2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

fixed apparent cut-and-paste-o in ISC_SOCKCANCEL_ACCEPT handler

This commit is contained in:
Andreas Gustafsson
1999-05-13 10:46:12 +00:00
parent 8f3ba5e9b2
commit 278695c921

View File

@@ -2635,8 +2635,7 @@ isc_socket_cancel(isc_socket_t *sock, isc_task_t *task,
iev = ISC_LIST_HEAD(sock->accept_list);
next = ISC_LIST_NEXT(iev, link);
if ((task == NULL || task == iev->task)
&& iev->posted && !iev->canceled) {
if ((task == NULL || task == iev->task) && !iev->canceled) {
dev = iev->done_ev;
current_task = iev->task;