This commit is contained in:
jl777
2019-03-28 03:45:21 -11:00
parent f28b62c766
commit dd3704e2b0

View File

@@ -1583,7 +1583,7 @@ cJSON *get_urljson(char *url)
char *jsonstr; cJSON *json = 0; char *jsonstr; cJSON *json = 0;
if ( (jsonstr= issue_curl(url)) != 0 ) if ( (jsonstr= issue_curl(url)) != 0 )
{ {
fprintf(stderr,"(%s) -> (%s)\n",url,jsonstr); //fprintf(stderr,"(%s) -> (%s)\n",url,jsonstr);
json = cJSON_Parse(jsonstr); json = cJSON_Parse(jsonstr);
free(jsonstr); free(jsonstr);
} }
@@ -1629,7 +1629,6 @@ void komodo_cbopretupdate()
if ( get_btcusd(pricebits) == 0 ) if ( get_btcusd(pricebits) == 0 )
{ {
Mineropret.resize(sizeof(pricebits)); Mineropret.resize(sizeof(pricebits));
fprintf(stderr,"set pricebits\n");
memcpy(&Mineropret[0],pricebits,sizeof(pricebits)); memcpy(&Mineropret[0],pricebits,sizeof(pricebits));
} }
} }