Merge pull request #1145 from gaul/bool

Fix a few bool types
This commit is contained in:
Takeshi Nakatani 2019-09-08 20:04:30 +09:00 committed by GitHub
commit 42fb30852b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -438,7 +438,7 @@ bool S3fsCurl::InitS3fsCurl(const char* MimeFile)
bool S3fsCurl::DestroyS3fsCurl()
{
int result = true;
bool result = true;
if(!S3fsCurl::DestroyCryptMutex()){
result = false;

View File

@ -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();