Less debugging.

This commit is contained in:
Arthur Britto
2013-02-28 16:57:19 -08:00
parent 9d9eb7e4a8
commit 2f85057920

View File

@@ -97,13 +97,11 @@ static Json::Value jvParseCurrencyIssuer(const std::string& strCurrencyIssuer)
boost::smatch smMatch; boost::smatch smMatch;
bool bMatch = boost::regex_match(strCurrencyIssuer, smMatch, reCurIss); // Match status code. if (boost::regex_match(strCurrencyIssuer, smMatch, reCurIss))
if (bMatch)
{ {
Json::Value jvResult(Json::objectValue); Json::Value jvResult(Json::objectValue);
std::string strCurrency = smMatch[1]; std::string strCurrency = smMatch[1];
std::string strIssuer = smMatch[2]; std::string strIssuer = smMatch[2];
jvResult["currency"] = strCurrency; jvResult["currency"] = strCurrency;
@@ -733,7 +731,7 @@ int commandLineRPC(const std::vector<std::string>& vCmd)
jvRequest = rpParser.parseCommand(vCmd[0], jvRpcParams); jvRequest = rpParser.parseCommand(vCmd[0], jvRpcParams);
std::cerr << "Request: " << jvRequest << std::endl; cLog(lsTRACE) << "RPC Request: " << jvRequest << std::endl;
if (jvRequest.isMember("error")) if (jvRequest.isMember("error"))
{ {