diff --git a/src/curl.cpp b/src/curl.cpp index 01163dd..304c57e 100644 --- a/src/curl.cpp +++ b/src/curl.cpp @@ -438,7 +438,7 @@ bool S3fsCurl::InitS3fsCurl(const char* MimeFile) bool S3fsCurl::DestroyS3fsCurl() { - int result = true; + bool result = true; if(!S3fsCurl::DestroyCryptMutex()){ result = false; diff --git a/src/s3fs.cpp b/src/s3fs.cpp index 967c135..2fcf07b 100644 --- a/src/s3fs.cpp +++ b/src/s3fs.cpp @@ -209,7 +209,7 @@ static int check_passwd_file_perms(); static int read_aws_credentials_file(const std::string &filename); static int read_passwd_file(); static int get_access_keys(); -static int set_mountpoint_attribute(struct stat& mpst); +static bool set_mountpoint_attribute(struct stat& mpst); static int set_bucket(const char* arg); static int my_fuse_opt_proc(void* data, const char* arg, int key, struct fuse_args* outargs); @@ -4372,7 +4372,7 @@ static int get_access_keys() // // Check & Set attributes for mount point. // -static int set_mountpoint_attribute(struct stat& mpst) +static bool set_mountpoint_attribute(struct stat& mpst) { mp_uid = geteuid(); mp_gid = getegid();