fix undefined variable

fixes #8
This commit is contained in:
Roman Shtylman
2013-02-11 14:19:05 -05:00
parent fbe841a1c5
commit 585a8afad7

View File

@@ -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