mirror of https://github.com/axmolengine/axmol.git
[v3-update-sio] fixes nested switch brackets - best practice would be to replace these with functions in the future
Signed-off-by: Chris Hannon <himynameschris@gmail.com>
This commit is contained in:
parent
6bcf325630
commit
fe6275adf5
|
@ -884,7 +884,7 @@ void SIOClientImpl::onMessage(WebSocket* ws, const WebSocket::Data& data)
|
|||
}
|
||||
break;
|
||||
case 4:
|
||||
|
||||
{
|
||||
const char second = payload.at(0);
|
||||
int control2 = atoi(&second);
|
||||
CCLOGINFO("Message code: [%i]", control);
|
||||
|
@ -972,6 +972,7 @@ void SIOClientImpl::onMessage(WebSocket* ws, const WebSocket::Data& data)
|
|||
CCLOGINFO("Noop\n");
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue