]> git.eshelyaron.com Git - emacs.git/commitdiff
(wait_reading_process_input): Check connect_wait_mask
authorKim F. Storm <storm@cua.dk>
Tue, 25 May 2004 11:17:43 +0000 (11:17 +0000)
committerKim F. Storm <storm@cua.dk>
Tue, 25 May 2004 11:17:43 +0000 (11:17 +0000)
before actually accepting connection in case it has already been
accepted due to recursion.

src/process.c

index 463d56ffb3d43194bffefa6d7a1e12a2f39f835a..82f61ffdfb2853693105f842bebaa36c25c054f7 100644 (file)
@@ -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;