From b2786f28e2c1f905f980129a2183056361476cdf Mon Sep 17 00:00:00 2001 From: PavelKonon Date: Thu, 28 Feb 2013 00:34:08 +0200 Subject: [PATCH] Update jsonrpc.js Fix wrong indentation. --- jsonrpc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonrpc.js b/jsonrpc.js index 7757fa7..91cf204 100644 --- a/jsonrpc.js +++ b/jsonrpc.js @@ -48,7 +48,7 @@ JSONRPCClient = function (scheme, host, port, path) { // Send request request = require(this.scheme).request(requestOptions, onComplete); - request.on('error', function (error) { + request.on('error', function (error) { onErrorCallback && onErrorCallback(error); }); request.write(requestJSON);