From 2f85057920c557d6339387914b812e98cbf61062 Mon Sep 17 00:00:00 2001 From: Arthur Britto Date: Thu, 28 Feb 2013 16:57:19 -0800 Subject: [PATCH] Less debugging. --- src/cpp/ripple/CallRPC.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/cpp/ripple/CallRPC.cpp b/src/cpp/ripple/CallRPC.cpp index cf30221c4..1c847b1b7 100644 --- a/src/cpp/ripple/CallRPC.cpp +++ b/src/cpp/ripple/CallRPC.cpp @@ -97,13 +97,11 @@ static Json::Value jvParseCurrencyIssuer(const std::string& strCurrencyIssuer) boost::smatch smMatch; - bool bMatch = boost::regex_match(strCurrencyIssuer, smMatch, reCurIss); // Match status code. - - if (bMatch) + if (boost::regex_match(strCurrencyIssuer, smMatch, reCurIss)) { Json::Value jvResult(Json::objectValue); - std::string strCurrency = smMatch[1]; - std::string strIssuer = smMatch[2]; + std::string strCurrency = smMatch[1]; + std::string strIssuer = smMatch[2]; jvResult["currency"] = strCurrency; @@ -733,7 +731,7 @@ int commandLineRPC(const std::vector& vCmd) jvRequest = rpParser.parseCommand(vCmd[0], jvRpcParams); - std::cerr << "Request: " << jvRequest << std::endl; + cLog(lsTRACE) << "RPC Request: " << jvRequest << std::endl; if (jvRequest.isMember("error")) {