mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-22 16:58:55 +00:00
fix multihead warning check
This commit is contained in:
parent
a92668ae78
commit
b91fc5409e
@ -3923,7 +3923,7 @@ int S3fsMultiCurl::MultiPerform(void)
|
||||
if (rc == 0) {
|
||||
iter = threads.erase(iter);
|
||||
int int_retval = (int)(intptr_t)(retval);
|
||||
if (int_retval && !(int_retval == ENOENT && isMultiHead)) {
|
||||
if (int_retval && !(int_retval == -ENOENT && isMultiHead)) {
|
||||
S3FS_PRN_WARN("thread failed - rc(%d)", int_retval);
|
||||
}
|
||||
break;
|
||||
@ -3970,7 +3970,7 @@ int S3fsMultiCurl::MultiPerform(void)
|
||||
S3FS_PRN_ERR("failed pthread_join - rc(%d)", rc);
|
||||
} else {
|
||||
int int_retval = (int)(intptr_t)(retval);
|
||||
if (int_retval && !(int_retval == ENOENT && isMultiHead)) {
|
||||
if (int_retval && !(int_retval == -ENOENT && isMultiHead)) {
|
||||
S3FS_PRN_WARN("thread failed - rc(%d)", int_retval);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user