cwSocket.cpp : Added error msg.
This commit is contained in:
parent
f75510f624
commit
4aa8621b70
@ -85,7 +85,10 @@ namespace cw
|
||||
{
|
||||
p = _handleToPtr(h);
|
||||
if((s = _idToSock(p,userId,showErrorFl)) == nullptr )
|
||||
{
|
||||
if( showErrorFl )
|
||||
return cwLogError(kInvalidArgRC,"The socket associated with id '%i' could not be found.",userId);
|
||||
}
|
||||
|
||||
return kOkRC;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user