aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/surface_server.js
diff options
context:
space:
mode:
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);
};
/**