Commit 278695c9 authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

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

parent 8f3ba5e9
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment