Permalink
Browse files

fix undefined variable

fixes #8
  • Loading branch information...
1 parent fbe841a commit 585a8afad7956f57e1aff8dcfcbbf025c6ffab22 @defunctzombie defunctzombie committed Feb 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 client.js
View
@@ -59,7 +59,7 @@ var connect = function(opt) {
remote.once('error', function(err) {
if (err.code !== 'ECONNREFUSED') {
- local.emit('error', err);
+ remote.emit('error', err);
}
// retrying connection to local server

0 comments on commit 585a8af

Please sign in to comment.