mirror of
https://github.com/curl/curl.git
synced 2025-02-23 15:10:03 +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) .
|
logmsg "RUN: Verifying our test ". uc($proto) .
|
||||||
" server took $took seconds\n";
|
" 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;
|
return $pid;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user