🐞 fix(TSG-7599): 上传失败也会调用回调函数,使用者可根据错误信息进行合理作业

This commit is contained in:
pengxuanzheng
2021-10-12 17:23:32 +08:00
parent 89a92df45a
commit 654b5cc481
8 changed files with 35 additions and 17 deletions

View File

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