diff options
author | Tim Emiola <tbetbetbe@users.noreply.github.com> | 2015-01-21 16:04:00 -0800 |
---|---|---|
committer | Tim Emiola <tbetbetbe@users.noreply.github.com> | 2015-01-21 16:04:00 -0800 |
commit | 2021d031687418fe4fe09d2e2efcdc4b3e833ffc (patch) | |
tree | fe14afcc54bbf77862203d950019f527abd22d35 /src/node/surface_server.js | |
parent | 85eea08ba8109dc9bd2b798146a5140342505f77 (diff) | |
parent | f034e50ba9847250388c0608cd217dbd1dbc76db (diff) |
Merge pull request #149 from murgatroid99/node_bind_port_zero
Bind servers to port 0 in node tests
Diffstat (limited to 'src/node/surface_server.js')
-rw-r--r-- | src/node/surface_server.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/node/surface_server.js b/src/node/surface_server.js index 0b19d96b4c..bc688839fe 100644 --- a/src/node/surface_server.js +++ b/src/node/surface_server.js @@ -357,8 +357,7 @@ function makeServerConstructor(services) { * @return {SurfaceServer} this */ SurfaceServer.prototype.bind = function(port, secure) { - this.inner_server.bind(port, secure); - return this; + return this.inner_server.bind(port, secure); }; /** |