mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-16 15:41:16 +01:00
timeout isn't an assertion failure
This commit is contained in:
parent
2b1dd9ec55
commit
a24e7d18b3
1 changed files with 2 additions and 5 deletions
|
@ -100,7 +100,7 @@ queue_packet( CeSocketWrapper* self, XP_U8* packet, XP_U16 len )
|
|||
logLastError( "ReleaseMutex" );
|
||||
}
|
||||
} else {
|
||||
XP_ASSERT(0);
|
||||
XP_LOGF( "timed out" );
|
||||
}
|
||||
|
||||
return success;
|
||||
|
@ -259,11 +259,8 @@ WriterThreadProc( LPVOID lpParameter )
|
|||
{
|
||||
CeSocketWrapper* self = (CeSocketWrapper*)lpParameter;
|
||||
|
||||
/* PENDING: Start up network so we'll have a socket to use. Once the
|
||||
socket's open and connected, start the reader thread.*/
|
||||
connectSocket( self );
|
||||
|
||||
|
||||
/* Then loop waiting for packets to write to it. */
|
||||
for ( ; ; ) {
|
||||
XP_U8* packet;
|
||||
|
@ -432,6 +429,6 @@ ce_sockwrap_send( CeSocketWrapper* self, XP_U8* buf, XP_U16 len,
|
|||
}
|
||||
|
||||
return len;
|
||||
}
|
||||
} /* ce_sockwrap_send */
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue