Commit 1566f511 authored by Kim F. Storm's avatar Kim F. Storm

(wait_reading_process_input): Check connect_wait_mask

before actually accepting connection in case it has already been
accepted due to recursion.
parent 846faa3b
......@@ -4581,7 +4581,8 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
}
}
#ifdef NON_BLOCKING_CONNECT
if (check_connect && FD_ISSET (channel, &Connecting))
if (check_connect && FD_ISSET (channel, &Connecting)
&& FD_ISSET (channel, &connect_wait_mask))
{
struct Lisp_Process *p;
......
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