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:
Daniel Stenberg 2009-12-19 23:10:33 +00:00
parent 240fa29e94
commit 344bbcf259

View File

@ -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;
}