cwUi.cpp: _webSockSend() now directly returns the result of websock::send().

This commit is contained in:
kevin 2024-01-13 10:00:11 -05:00
parent 0dd6df0bdc
commit 293629831c

View File

@ -2203,9 +2203,8 @@ namespace cw
rc_t _webSockSend( void* cbArg, unsigned wsSessId, const void* msg, unsigned msgByteN )
{
//ui_ws_t* p = static_cast<ui_ws_t*>(cbArg);
//return websock::send( p->wsH, kUiProtocolId, wsSessId, msg, msgByteN );
return kOkRC;
ui_ws_t* p = static_cast<ui_ws_t*>(cbArg);
return websock::send( p->wsH, kUiProtocolId, wsSessId, msg, msgByteN );
}
}