From e7a941a2bcc7531f90e7d011d5839cc1ba50592c Mon Sep 17 00:00:00 2001 From: freewil Date: Wed, 22 Feb 2012 23:26:09 -0500 Subject: [PATCH] sys module was replaced with util --- lib/jsonrpc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jsonrpc.js b/lib/jsonrpc.js index 6db9686..0a8e9ac 100644 --- a/lib/jsonrpc.js +++ b/lib/jsonrpc.js @@ -1,4 +1,4 @@ -var sys = require('sys'); +var util = require('util'); var http = require('http'); var METHOD_NOT_ALLOWED = "Method Not Allowed\n"; var INVALID_REQUEST = "Invalid Request\n"; @@ -125,7 +125,7 @@ Server.prototype.expose = function(name, func) { // trace //===----------------------------------------------------------------------===// Server.trace = function(direction, message) { - sys.puts(' ' + direction + ' ' + message); + util.puts(' ' + direction + ' ' + message); }