mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-04 20:46:28 +01:00
logging toward tracking a rare assertion failure
This commit is contained in:
parent
33491a5376
commit
d1881e7fc4
1 changed files with 3 additions and 2 deletions
|
@ -1493,8 +1493,9 @@ sendMsg( CommsCtxt* comms, MsgQueueElem* elem, const CommsConnType filter )
|
|||
elem->sendCount );
|
||||
}
|
||||
CNO_FMT( cbuf1, elem->channelNo );
|
||||
XP_LOGF( "%s(%s; msgID=" XP_LD ")=>%d", __func__,
|
||||
cbuf1, elem->msgID, result );
|
||||
XP_LOGF( "%s(%s; msgID=" XP_LD ", len=%d)=>%d", __func__,
|
||||
cbuf1, elem->msgID, elem->len, result );
|
||||
XP_ASSERT( result < 0 || elem->len == result );
|
||||
return result;
|
||||
} /* sendMsg */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue