Commit 643db0f3 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(isc_oflush): Adjusted to the new API of the callback functions.

parent 482fac6c
......@@ -143,14 +143,12 @@ isc_oflush(struct isc_scb_internal *scb)
break;
case EPIPE:
scb->write_err_cb(scb->pub.master, &scb->pub,
errno, scb->data_available_user);
scb->write_err_cb(&scb->pub, errno);
scb->state = ISC_STATE_CLOSING;
return;
default:
scb->write_err_cb(scb->pub.master, &scb->pub,
errno, scb->data_available_user);
scb->write_err_cb(&scb->pub, errno);
scb->state = ISC_STATE_CLOSING;
scb->sendindex = 0;
return;
......
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