From 1566f511f1f71aebb1eac3dc7fceddd1e6448a3b Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Tue, 25 May 2004 11:17:43 +0000 Subject: [PATCH] (wait_reading_process_input): Check connect_wait_mask before actually accepting connection in case it has already been accepted due to recursion. --- src/process.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/process.c b/src/process.c index 463d56ffb3d..82f61ffdfb2 100644 --- a/src/process.c +++ b/src/process.c @@ -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; -- 2.39.5