summarylogtreecommitdiffstats
path: root/SocketIO.patch
blob: e36bdfc2c0ec0fae6a2b44209e2d2c6953a1fdc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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);