Commit abb1b9f7 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(isc_putc): Allow output to sessions that are in state ISC_STATE_DISABLED.

(isc_write): Likewise.
parent c38f7b2b
......@@ -30,6 +30,7 @@ isc_putc(int chr,
IscSession * scb)
{
if (scb->state != ISC_STATE_CONNECTING &&
scb->state != ISC_STATE_DISABLED &&
scb->state != ISC_STATE_RUNNING)
return EOF;
......@@ -53,6 +54,7 @@ isc_write(IscSession * scb,
if (scb->state != ISC_STATE_CONNECTING &&
scb->state != ISC_STATE_DISABLED &&
scb->state != ISC_STATE_RUNNING)
return EOF;
......
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