Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #34 from AnaelFavre/master

Fixed bug using BinaryJS between two servers. Thanks @AnaelFavre
  • Loading branch information...
commit ebaa89f2c0e890e24d1654f71c9cfc297d630535 2 parents 714d054 + 282f356
@ericz ericz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/client.js
View
2  lib/client.js
@@ -10,7 +10,7 @@ var BinaryStream = require('./stream').BinaryStream;
// end node
function BinaryClient(socket, options) {
- if (!(this instanceof BinaryClient)) return new BinaryClient(options);
+ if (!(this instanceof BinaryClient)) return new BinaryClient(socket, options);
EventEmitter.call(this);
Please sign in to comment.
Something went wrong with that request. Please try again.