diff options
Diffstat (limited to 'src/service.c')
-rw-r--r-- | src/service.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/service.c b/src/service.c index 68b3ff8..2d1e038 100644 --- a/src/service.c +++ b/src/service.c @@ -131,7 +131,7 @@ static void completeCallback(S3Status requestStatus, void S3_list_service(S3Protocol protocol, const char *accessKeyId, - const char *secretAccessKey, + const char *secretAccessKey, const char *hostName, S3RequestContext *requestContext, const S3ListServiceHandler *handler, void *callbackData) { @@ -161,7 +161,8 @@ void S3_list_service(S3Protocol protocol, const char *accessKeyId, RequestParams params = { HttpRequestTypeGET, // httpRequestType - { 0, // bucketName + { hostName, // hostName + 0, // bucketName protocol, // protocol S3UriStylePath, // uriStyle accessKeyId, // accessKeyId |