Add ripple_client module unity build and move RPCServer into it

This commit is contained in:
Vinnie Falco
2013-05-22 14:45:08 -07:00
parent 4c485ac5ce
commit 89eb0bc6f0
11 changed files with 370 additions and 201 deletions

View File

@@ -6,7 +6,10 @@
#include "../json/writer.h"
SETUP_LOG();
// For logging
struct RPCErr
{
};
Json::Value rpcError(int iError, Json::Value jvResult)
{
@@ -88,7 +91,7 @@ Json::Value rpcError(int iError, Json::Value jvResult)
if (i >= 0)
{
cLog(lsDEBUG) << "rpcError: "
WriteLog (lsDEBUG, RPCErr) << "rpcError: "
<< errorInfoA[i].pToken << ": " << errorInfoA[i].pMessage << std::endl;
}