This commit is contained in:
@@ -5385,13 +5385,13 @@ UniValue cclib(const UniValue& params, bool fHelp)
|
||||
evalcode = atoi(params[1].get_str().c_str());
|
||||
if ( evalcode < EVAL_FIRSTUSER || evalcode > EVAL_LASTUSER )
|
||||
{
|
||||
printf("evalcode.%d vs (%d, %d)\n",evalcode,EVAL_FIRSTUSER,EVAL_LASTUSER);
|
||||
//printf("evalcode.%d vs (%d, %d)\n",evalcode,EVAL_FIRSTUSER,EVAL_LASTUSER);
|
||||
throw runtime_error("evalcode not between EVAL_FIRSTUSER and EVAL_LASTUSER\n");
|
||||
}
|
||||
if ( params.size() == 3 )
|
||||
{
|
||||
jsonparams = cJSON_Parse(params[2].get_str().c_str());
|
||||
printf("Parse.(%s) -> %p\n",params[2].get_str().c_str(),jsonparams);
|
||||
//printf("Parse.(%s) -> %p\n",params[2].get_str().c_str(),jsonparams);
|
||||
}
|
||||
}
|
||||
cp = CCinit(&C,evalcode);
|
||||
|
||||
Reference in New Issue
Block a user