Timeout must be positive.
MFC after: 1 week
This commit is contained in:
parent
aad93b043a
commit
20f32a33d2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=220889
@ -461,6 +461,10 @@ compression_type:
|
||||
|
||||
timeout_statement: TIMEOUT NUM
|
||||
{
|
||||
if ($2 <= 0) {
|
||||
pjdlog_error("Negative or zero timeout.");
|
||||
return (1);
|
||||
}
|
||||
switch (depth) {
|
||||
case 0:
|
||||
depth0_timeout = $2;
|
||||
|
Loading…
Reference in New Issue
Block a user