From 13d9e7e8c8d94eb9079f4bb711adf25f3ba8376e Mon Sep 17 00:00:00 2001 From: ehouse Date: Sun, 21 Aug 2005 14:07:12 +0000 Subject: [PATCH] timeout isn't an assertion failure --- xwords4/wince/cesockwr.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/xwords4/wince/cesockwr.c b/xwords4/wince/cesockwr.c index d976b5a2e..b87c74488 100755 --- a/xwords4/wince/cesockwr.c +++ b/xwords4/wince/cesockwr.c @@ -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