上传时输出对象的路径
This commit is contained in:
2
cache/test_demo/tango_cache_test.c
vendored
2
cache/test_demo/tango_cache_test.c
vendored
@@ -213,7 +213,7 @@ static void dummy_accept_callback(evutil_socket_t fd, short events, void *arg)
|
||||
promise_set_ctx(future_to_promise(pdata->future), NULL, NULL);
|
||||
|
||||
ctx = tango_cache_update_start(tango_instance, pdata->future, &meta);
|
||||
sprintf(pdata->filename, "%s", tango_cache_get_object_key(ctx));
|
||||
tango_cache_get_object_path(ctx, pdata->filename, 256);
|
||||
|
||||
FILE *fp = fopen(s, "r");
|
||||
while(!feof(fp))
|
||||
|
||||
Reference in New Issue
Block a user