Browse files

fixed erroniously renamed event listener

  • Loading branch information...
1 parent adc4232 commit 0b2e4babfcdad0c71d8b9a3a4f1c459758aa9042 @Trakkasure committed Jul 8, 2011
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();

0 comments on commit 0b2e4ba

Please sign in to comment.