Skip to content

Commit

Permalink
[fix] dont use bind in the one case we do
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrugzz committed Apr 22, 2015
1 parent 607f96c commit d26ef56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/http-proxy/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function ProxyServer(options) {
return ws[pass];
});

this.on('error', this.onError.bind(this));
this.on('error', this.onError, this);

}

Expand Down

0 comments on commit d26ef56

Please sign in to comment.