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

Allow one second longer for timeout

parent 02414ee3
No related branches found
No related tags found
No related merge requests found
......@@ -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