Commit 1da032de authored by Deucе's avatar Deucе 👌🏾
Browse files

Allow one second longer for timeout

parent 947e9258
Pipeline #2625 passed with stage
in 9 minutes and 19 seconds
......@@ -1596,7 +1596,7 @@ service_loop(int argc, char** argv)
if (prompt_timeout == 0)
ptimeout = COM_INFINITE_TIMEOUT;
else {
if (prompt_timeout < INT_MAX / 1000)
if (prompt_timeout <= INT_MAX / 1000)
ptimeout = prompt_timeout * 1000;
else
ptimeout = INT_MAX;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment