mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-22 07:28:16 +01:00
logging toward tracking a rare assertion failure
This commit is contained in:
parent
8fb1a8405a
commit
7bee8120a8
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…
Reference in a new issue