|
|
|
@ -97,17 +97,10 @@ ioHandlerWrite(void * _this, TR_Event event) |
|
|
|
|
|
|
|
switch (TR_cepWriteBuffered((TR_CommEndPoint)event->subject)) { |
|
|
|
case FALSE: // EAGAIN |
|
|
|
if (TR_cepHasPendingData((TR_CommEndPoint)event->subject)) { |
|
|
|
revent = TR_eventSubjectEmit( |
|
|
|
event->subject, |
|
|
|
TR_CEP_EVENT_PENDING_DATA, |
|
|
|
NULL); |
|
|
|
} else { |
|
|
|
revent = TR_eventSubjectEmit( |
|
|
|
event->subject, |
|
|
|
TR_CEP_EVENT_END_DATA, |
|
|
|
NULL); |
|
|
|
} |
|
|
|
break; |
|
|
|
|
|
|
|
case -1: // FAILURE |
|
|
|
|