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);
|
||||
|
@ -965,12 +965,13 @@ void SIOClientImpl::onMessage(WebSocket* ws, const WebSocket::Data& data)
|
|||
}
|
||||
}
|
||||
break;
|
||||
case 5:
|
||||
CCLOGINFO("Upgrade required");
|
||||
break;
|
||||
case 6:
|
||||
CCLOGINFO("Noop\n");
|
||||
break;
|
||||
case 5:
|
||||
CCLOGINFO("Upgrade required");
|
||||
break;
|
||||
case 6:
|
||||
CCLOGINFO("Noop\n");
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue