mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
fixed encoder
This commit is contained in:
@@ -40,7 +40,7 @@ exports.encodePacket = function (packet) {
|
||||
|
||||
// data fragment is optional
|
||||
if (undefined !== packet.data) {
|
||||
encoded += ':' + packet.data;
|
||||
encoded += packet.data;
|
||||
}
|
||||
|
||||
return '' + encoded;
|
||||
|
||||
Reference in New Issue
Block a user