mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-11-16 07:48:07 +01:00
don't log socket closing as an error
This commit is contained in:
parent
8acbe2c08f
commit
7ca629a2f5
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ void
|
|||
TimerMgr::SetTimer( time_t inMillis, TimerProc proc, void* closure,
|
||||
int interval )
|
||||
{
|
||||
logf( XW_LOGINFO, "setTimer: uptime = %ld", uptime() );
|
||||
logf( XW_LOGINFO, "%s: uptime = %ld", __func__, uptime() );
|
||||
TimerInfo ti;
|
||||
ti.proc = proc;
|
||||
ti.closure = closure;
|
||||
|
|
|
@ -380,7 +380,7 @@ processDisconnect( unsigned char* bufp, int bufLen, int socket )
|
|||
void
|
||||
killSocket( int socket, const char* why )
|
||||
{
|
||||
logf( XW_LOGERROR, "killSocket(%d): %s", socket, why );
|
||||
logf( XW_LOGINFO, "killSocket(%d): %s", socket, why );
|
||||
CRefMgr::Get()->RemoveSocketRefs( socket );
|
||||
/* Might want to kill the thread it belongs to if we're not in it,
|
||||
e.g. when unable to write to another socket. */
|
||||
|
|
Loading…
Reference in a new issue