Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam 2022-06-01 18:01:08 +01:00
commit c1ac007576

View File

@ -798,6 +798,8 @@ partial_key:
/* Get the time period. */ /* Get the time period. */
delay = options_get_number(global_options, "escape-time"); delay = options_get_number(global_options, "escape-time");
if (delay == 0)
delay = 1;
tv.tv_sec = delay / 1000; tv.tv_sec = delay / 1000;
tv.tv_usec = (delay % 1000) * 1000L; tv.tv_usec = (delay % 1000) * 1000L;