Browse Source

Test

etomic
jl777 7 years ago
parent
commit
53b669a481
  1. 2
      crypto777/bitcoind_RPC.c
  2. 2
      iguana/exchanges/LP_nativeDEX.c
  3. 2
      iguana/exchanges/stats.c

2
crypto777/bitcoind_RPC.c

@ -95,7 +95,7 @@ char *post_process_bitcoind_RPC(char *debugstr,char *command,char *rpcstr,char *
{ {
if ( (error->type&0xff) == cJSON_NULL && (result->type&0xff) != cJSON_NULL ) if ( (error->type&0xff) == cJSON_NULL && (result->type&0xff) != cJSON_NULL )
{ {
retstr = cJSON_Print(result); retstr = jprint(result,0);
len = strlen(retstr); len = strlen(retstr);
if ( retstr[0] == '"' && retstr[len-1] == '"' ) if ( retstr[0] == '"' && retstr[len-1] == '"' )
{ {

2
iguana/exchanges/LP_nativeDEX.c

@ -1254,7 +1254,7 @@ void LP_free(void *ptr)
mp = 0; mp = 0;
} }
if ( mp != freemp ) if ( mp != freemp )
printf("mp %p != %p\n",mp,freemp); printf("mp %p != %p\n",mp,freemp);`
if ( mp != 0 ) if ( mp != 0 )
{ {
portable_mutex_lock(&LP_cJSONmutex); portable_mutex_lock(&LP_cJSONmutex);

2
iguana/exchanges/stats.c

@ -529,7 +529,7 @@ char *stats_rpcparse(char *retbuf,int32_t bufsize,int32_t *jsonflagp,int32_t *po
free(retstr); free(retstr);
} }
#endif #endif
//printf("(%s) {%s} -> (%s) postflag.%d (%s)\n",urlstr,jprint(argjson,0),cJSON_Print(json),*postflagp,retstr); //printf("(%s) {%s} -> (%s) postflag.%d (%s)\n",urlstr,jprint(argjson,0),jprint(json,0),*postflagp,retstr);
} }
free_json(origargjson); free_json(origargjson);
retstr = jprint(retarray,1); retstr = jprint(retarray,1);

Loading…
Cancel
Save