cwSocket.cpp : Generate an error message if _idToSock() fails in _getMgrAndSocket().

This commit is contained in:
kevin 2022-05-15 10:36:48 -04:00
parent 09da65113f
commit b552a96508

View File

@ -85,7 +85,8 @@ namespace cw
{
p = _handleToPtr(h);
if((s = _idToSock(p,userId,showErrorFl)) == nullptr )
return kInvalidArgRC;
return cwLogError(kInvalidArgRC,"The socket associated with id '%i' could not be found.",userId);
return kOkRC;
}