Skip to content

Commit

Permalink
update code.
Browse files Browse the repository at this point in the history
  • Loading branch information
huiguangjun committed Feb 2, 2024
1 parent 4823be9 commit 2572569
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion oss_c_sdk/aos_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ int aos_get_iso8601_str_time_ex(char datestr[AOS_MAX_GMT_TIME_LEN], apr_time_t n
return s;
}

int aos_get_gmt_time_date(const char *gmt, char datestr[AOS_MAX_SHORT_TIME_LEN]) {
int aos_get_gmt_time_date(const char *gmt, char datestr[AOS_MAX_SHORT_TIME_LEN])
{
char week[4];
char month[4];
apr_time_exp_t t;
Expand Down
2 changes: 1 addition & 1 deletion oss_c_sdk_test/test_oss_object.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ void test_restore_object_with_tier(CuTest *tc)
options = oss_request_options_create(p);
init_test_request_options(options, is_cname);
aos_str_set(&bucket, IA_BUCKET_NAME);
aos_str_set(&options->config->endpoint, "http://oss-ap-southeast-2.aliyuncs.com");
//aos_str_set(&options->config->endpoint, "http://oss-ap-southeast-2.aliyuncs.com");


s = create_test_bucket_with_storage_class(options, bucket.data,
Expand Down

0 comments on commit 2572569

Please sign in to comment.