changeset 43642:bfd9fa0143d9

(Fopen_network_stream): Always call turn_on_atimers around connect.
author Kim F. Storm <storm@cua.dk>
date Sun, 03 Mar 2002 00:31:22 +0000
parents 7fa38e96dd0f
children 54f8be735591
files src/process.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Sun Mar 03 00:26:15 2002 +0000
+++ b/src/process.c	Sun Mar 03 00:31:22 2002 +0000
@@ -2037,14 +2037,12 @@
 
 	 This used to be conditioned by HAVE_GETADDRINFO.  Why?  */
 
-      if (!is_non_blocking)
-	turn_on_atimers (0);
+      turn_on_atimers (0);
 
       ret = connect (s, lres->ai_addr, lres->ai_addrlen);
       xerrno = errno;
 
-      if (!is_non_blocking)
-	turn_on_atimers (1);
+      turn_on_atimers (1);
 
       if (ret == 0 || xerrno == EISCONN)
 	{