HEAD元信息解析JSON获取对象大小使用double

This commit is contained in:
zhangchengwei
2018-11-25 14:59:58 +08:00
parent 62e7f984da
commit 42906a6ef4
2 changed files with 2 additions and 2 deletions

View File

@@ -212,7 +212,7 @@ static int parse_minio_events_json(struct tango_cache_ctx *ctx, const char *jcon
{
goto out_json;
}
ctx->get.result.tlength = ptarget->valueint; //TODO: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>4GB<47><42>ô<EFBFBD>
ctx->get.result.tlength = ptarget->valuedouble;
if(NULL == (ptarget=cJSON_GetObjectItem(pobject, "userMetadata")) || ptarget->type!=cJSON_Object)
{
goto out_json;