This commit is contained in:
jl777
2018-09-05 01:15:36 -11:00
parent 059f7e4439
commit 074d6a603c

View File

@@ -332,7 +332,7 @@ void bntn()
{
if ( (retjson= cJSON_Parse(jsonstr)) != 0 )
{
if ( (n= cJSON_ArraySize(retjson)) > 0 )
if ( (n= cJSON_GetArraySize(retjson)) > 0 )
{
for (i=0; i<n; i++)
{