上传时输出对象的路径

This commit is contained in:
zhangchengwei
2018-09-28 15:16:28 +08:00
committed by zhengchao
parent ce3e46b6cf
commit b145b2c3bb
9 changed files with 37 additions and 33 deletions

View File

@@ -245,7 +245,7 @@ int main(int argc, char **argv)
promise_set_ctx(future_to_promise(pdata->future), NULL, NULL);
ctx = cache_evbase_update_start(instance_asyn, pdata->future, &meta);
sprintf(pdata->filename, "%s", cache_evbase_get_object_key(ctx));
cache_evbase_get_object_path(ctx, pdata->filename, 256);
char buffer[1024];
FILE *fp = fopen(filename_in, "r");