mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
fix the ftp check delay timer to never be set below 1 to work correctly
in cases like test 190
This commit is contained in:
parent
240fa29e94
commit
344bbcf259
@ -650,7 +650,7 @@ sub verifyftp {
|
||||
logmsg "RUN: Verifying our test ". uc($proto) .
|
||||
" server took $took seconds\n";
|
||||
}
|
||||
$ftpchecktime = $took?$took:1; # make sure it never is zero
|
||||
$ftpchecktime = $took>=1?$took:1; # make sure it never is below 1
|
||||
|
||||
return $pid;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user