Skip to content

Commit

Permalink
Convert assert to warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpd002 committed Feb 22, 2024
1 parent 7256723 commit 6ecc4d2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Source/ee/SIF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -610,8 +610,12 @@ void CSIF::Cmd_Call(const SIFCMDHEADER* hdr)
else
{
//Hold the packet
//We assume that there's only one call that
assert(m_callReplies.find(serverId) == m_callReplies.end());
//We assume that there's only one RPC call waiting for a reply at any time
if(m_callReplies.find(serverId) != m_callReplies.end())
{
CLog::GetInstance().Warn(LOG_NAME, "RPC server 0x%08X got a call (0x%08X) while a previous call reply is pending.\r\n",
serverId, call->rpcNumber);
}
CALLREQUESTINFO requestInfo;
requestInfo.reply = rend;
requestInfo.call = *call;
Expand Down

0 comments on commit 6ecc4d2

Please sign in to comment.