This commit is contained in:
jl777
2016-10-25 20:07:19 -03:00
parent 4f3b8743d2
commit 9df2f8fb19

View File

@@ -30,7 +30,7 @@ void komodo_gateway_iteration(char *symbol)
//printf("LIST.(%s)\n",retstr);
if ( (listobj= cJSON_Parse(retstr)) != 0 )
{
if ( (array= jarray(&num,listobj,"result")) > 0 )
if ( (array= jarray(&num,listobj,"result")) != 0 )
{
for (i=0; i<num; i++)
{