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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user