restructure to eliminate use of select

This commit is contained in:
Jeff Hill
2001-09-07 23:02:32 +00:00
parent 6517109e7e
commit ad819cba65
19 changed files with 807 additions and 570 deletions

View File

@@ -23,8 +23,8 @@ bool comBuf::flushToWire ( wireSendAdapter &wire )
{
unsigned occupied = this->occupiedBytes ();
while ( occupied ) {
unsigned nBytes = wire.sendBytes ( &this->buf[this->nextReadIndex],
occupied );
unsigned nBytes = wire.sendBytes (
&this->buf[this->nextReadIndex], occupied );
if ( nBytes == 0u ) {
return false;
}