Skip to content

Commit 74fc771

Browse files
author
yongqingliu
committed
optimize console log for inner domain
1 parent 774e9ae commit 74fc771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/s3fs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4860,7 +4860,7 @@ static int my_fuse_opt_proc(void* data, const char* arg, int key, struct fuse_ar
48604860
found = host.find_last_of('/');
48614861
length = host.length();
48624862
}
4863-
if((host.compare(0, 12, "https://cos.") != 0) && (host.compare(0, 11, "http://cos.") != 0)) {
4863+
if((host.compare(0, 11, "https://cos") != 0) && (host.compare(0, 10, "http://cos") != 0)) {
48644864
fprintf(stdout, "Warn:option url has invalid format:%s, correct example:-ourl=http://cos.ap-guangzhou.myqcloud.com\n", host.c_str());
48654865
}
48664866
// if use https and libcurl version greater or equal to 3.12.3, should set environment NSS_STRICT_NOFORK=DISABLED

0 commit comments

Comments
 (0)