aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/surface_server.js
diff options
context:
space:
mode:
authorGravatar Tim Emiola <tbetbetbe@users.noreply.github.com>2015-01-21 16:04:00 -0800
committerGravatar Tim Emiola <tbetbetbe@users.noreply.github.com>2015-01-21 16:04:00 -0800
commit2021d031687418fe4fe09d2e2efcdc4b3e833ffc (patch)
treefe14afcc54bbf77862203d950019f527abd22d35 /src/node/surface_server.js
parent85eea08ba8109dc9bd2b798146a5140342505f77 (diff)
parentf034e50ba9847250388c0608cd217dbd1dbc76db (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.js3
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);
};
/**