Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix build error #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cos_c_sdk/cos_utility.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ int is_should_retry(const cos_status_t *s, const char *str);
int is_default_domain(const char *str);
int is_should_retry_endpoint(const cos_status_t *s, const char *str);
int check_status_with_resp_body(cos_list_t *body, int64_t body_len, const char *target);
int object_key_simplify_check(const char * object_path);
int is_default_endpoint(const char *str);
int change_host_suffix(char **endpoint);
void change_endpoint_suffix(cos_string_t *endpoint);
Expand Down
2 changes: 1 addition & 1 deletion cos_c_sdk_test/cos_demo.c
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ void test_cos_download_part_to_file()
cos_str_set(&object, TEST_MULTIPART_OBJECT4);
cos_str_set(&filepath, TEST_DOWNLOAD_NAME4);

s = cos_download_part_to_file(options, &bucket, &object, &filepath, &resp_headers);
s = cos_download_part_to_file(options, &bucket, &object, (cos_upload_file_t*) &filepath, &resp_headers);
log_status(s);

cos_pool_destroy(p);
Expand Down