fix rev_data
This commit is contained in:
parent
0fe2617d95
commit
7342f14f05
@ -13,6 +13,7 @@ int WebSocketListener( struct lws *wsi, enum lws_callback_reasons reason, void *
|
||||
case LWS_CALLBACK_RECEIVE:
|
||||
{
|
||||
unsigned char* msg=new uint8_t[8192];
|
||||
memset(msg,0,sizeof(msg));
|
||||
memcpy(msg,in,len);
|
||||
ddncq->gamectx->SendChat(-1,CGameContext::CHAT_ALL,(const char*)msg);
|
||||
delete[] msg;
|
||||
|
Loading…
Reference in New Issue
Block a user