浏览代码

store just messsage

ericz 12 年之前
父节点
当前提交
f2c420fb59
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/server.js

+ 1 - 1
lib/server.js

@@ -274,7 +274,7 @@ PeerServer.prototype._handleTransmission = function(message, res) {
           }
         }, this._options.timeout);
       }
-      this._outstandingOffers[dst][src].push(Array.prototype.slice.apply(arguments));
+      this._outstandingOffers[dst][src].push([message]);
       if (!!res) res.send(200);
     } else if (type === 'LEAVE' && !dst) {
       this._removePeer(src);