Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
72ee981ca1
  1. 4
      iguana/iguana_exchanges.c

4
iguana/iguana_exchanges.c

@ -1347,7 +1347,7 @@ INT_AND_ARRAY(iguana,rates,unused,quotes)
{
aveprice = jdouble(tmpjson,"aveprice");
free_json(tmpjson);
}
} else printf("error parsing.(%s)\n",retstr);
sprintf(field,"%s/%s",base[i],rel[i]);
item = cJSON_CreateObject();
jaddnum(item,field,aveprice);
@ -1355,7 +1355,7 @@ INT_AND_ARRAY(iguana,rates,unused,quotes)
array = cJSON_CreateArray();
jaddi(array,item);
free(retstr);
}
} else printf("no return from aveprice\n");
}
else
{

Loading…
Cancel
Save