Permalink
Browse files

createServer passes in opts now

  • Loading branch information...
1 parent b75d1a8 commit 714d0540089ddbcadf88e354e9bc1760211551e8 @ericz ericz committed Jan 16, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/server.js
View
@@ -65,7 +65,7 @@ exports.createServer = function(fn) {
opts = opts || {};
opts.port = port;
- var server = new BinaryServer({ port : port });
+ var server = new BinaryServer(opts);
server.on('connection', function(conn) {
fn && fn(conn.createStream());
});

0 comments on commit 714d054

Please sign in to comment.