changeset 55766:d5fe47c900ee

(wait_reading_process_input): Check connect_wait_mask before actually accepting connection in case it has already been accepted due to recursion.
author Kim F. Storm <storm@cua.dk>
date Tue, 25 May 2004 11:17:43 +0000
parents 8ead5534c80f
children ee3a30045908
files src/process.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Tue May 25 11:17:03 2004 +0000
+++ b/src/process.c	Tue May 25 11:17:43 2004 +0000
@@ -4581,7 +4581,8 @@
 		}
 	    }
 #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;