Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed erroniously renamed event listener

  • Loading branch information...
commit 0b2e4babfcdad0c71d8b9a3a4f1c459758aa9042 1 parent adc4232
@Trakkasure authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/index.js
View
2  lib/index.js
@@ -310,7 +310,7 @@ api.prototype.connect=function(connectHandler) {
this.connecting=true;
var self=this;
this.socket.on('data',function(a){self.read(a)});
- this.socket.on('eerror',function(a){
+ this.socket.on('error',function(a){
if (self.debug>1)
util.log('Connection error: '+a);
self.socket.destroy();
Please sign in to comment.
Something went wrong with that request. Please try again.