diff options
Diffstat (limited to 'SocketIO.patch')
-rw-r--r-- | SocketIO.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/SocketIO.patch b/SocketIO.patch new file mode 100644 index 000000000000..e36bdfc2c0ec --- /dev/null +++ b/SocketIO.patch @@ -0,0 +1,17 @@ +@@ -880,7 +880,6 @@ + int control2 = payload.at(0) - '0'; + CCLOGINFO("Message code: [%i]", control2); + +- SocketIOPacket *packetOut = SocketIOPacket::createPacketWithType("event", _version); + std::string endpoint = ""; + + std::string::size_type a = payload.find("/"); +@@ -902,8 +901,6 @@ + // we didn't find and endpoint and we are in the default namespace + if (endpoint == "") endpoint = "/"; + +- packetOut->setEndpoint(endpoint); +- + c = getClient(endpoint); + + payload = payload.substr(1); |