HEAD元信息解析JSON获取对象大小使用double
This commit is contained in:
2
cache/src/tango_cache_redis.cpp
vendored
2
cache/src/tango_cache_redis.cpp
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user