cwUi.cpp: _webSockSend() now directly returns the result of websock::send().
This commit is contained in:
parent
0dd6df0bdc
commit
293629831c
5
cwUi.cpp
5
cwUi.cpp
@ -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 );
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user