Skip to content
Snippets Groups Projects
Commit 1da032de authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Allow one second longer for timeout

parent 947e9258
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2625 passed
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment