🐞 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

@@ -52,7 +52,7 @@ int file_to_buffer(const char *file, char *buffer, int size)
return 0;
}
void callback(bool result, const char *error, const char *bucket, const char *object, void *userdata)
void callback(bool result, const char *bucket, const char *object, const char *errormsg, size_t errorcode, void *userdata)
{
return ;
}