Remove useless CURLE_OPERATION_TIMEDOUT check

CheckBucket only returns errno and HTTP status codes.
This commit is contained in:
Andrew Gaul 2019-08-09 13:34:29 -07:00
parent c644e4bef2
commit 01ac815346

View File

@ -3881,9 +3881,6 @@ static int s3fs_check_service()
}else if(responseCode == 404){
S3FS_PRN_CRIT("bucket not found(host=%s) - result of checking service.", host.c_str());
}else if(responseCode == CURLE_OPERATION_TIMEDOUT){
// unable to connect
S3FS_PRN_CRIT("unable to connect bucket and timeout(host=%s) - result of checking service.", host.c_str());
}else{
// another error
S3FS_PRN_CRIT("unable to connect(host=%s) - result of checking service.", host.c_str());