From 01ac8153460fe548e5debad95a2bf8ba13931473 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Fri, 9 Aug 2019 13:34:29 -0700 Subject: [PATCH] Remove useless CURLE_OPERATION_TIMEDOUT check CheckBucket only returns errno and HTTP status codes. --- src/s3fs.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/s3fs.cpp b/src/s3fs.cpp index 37dff70..6128a5c 100644 --- a/src/s3fs.cpp +++ b/src/s3fs.cpp @@ -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());