Commit 67b9e4a1 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(isc_getnextevent): Use scb->handlers->current instead of scb->fun.

parent f3e10e76
......@@ -253,7 +253,7 @@ RETRY:
scb->stats.rx.bytes += msg->length;
scb->stats.rx.packets++;
if (scb->fun.parse)
if (scb->handlers->current.parse)
{
event2 = ISC_SCALLFUN2(scb, parse, scb, msg);
if (event2)
......@@ -284,7 +284,7 @@ RETRY:
if (scb->state == ISC_STATE_LISTENING &&
FD_ISSET(scb->fd, &read_set) &&
scb->fun.accept != NULL)
scb->handlers->current.accept != NULL)
{
new_scb = ISC_SCALLFUN2(scb, accept, scb, NULL);
if (new_scb == NULL)
......
Markdown is supported
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