mirror of
https://github.com/curl/curl.git
synced 2026-04-19 17:01:17 +03: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue