logging toward tracking a rare assertion failure

This commit is contained in:
Eric House 2019-02-26 14:33:18 -08:00
parent 8fb1a8405a
commit 7bee8120a8

View file

@ -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 */