修改回调函数参数,在close fd时flush掉缓存内容

This commit is contained in:
pengxuanzheng
2020-11-03 18:09:03 +08:00
parent 9ef02a67dd
commit 6259b938ec
5 changed files with 46 additions and 5 deletions

View File

@@ -102,7 +102,7 @@ int read_file_list(const char *path, char file_name[][256])
return 0;
}
static void callback(bool result, const char *error, void *userdata)
static void callback(bool result, const char *error, const char *bucket, const char *object, void *userdata)
{
#if 0
userdata_t *data = (userdata_t *)userdata;