]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fopen_network_stream): Always call turn_on_atimers around connect.
authorKim F. Storm <storm@cua.dk>
Sun, 3 Mar 2002 00:31:22 +0000 (00:31 +0000)
committerKim F. Storm <storm@cua.dk>
Sun, 3 Mar 2002 00:31:22 +0000 (00:31 +0000)
src/process.c

index 152fd679405e968f9ccbf29c98f1cb2baf83e803..daf4563c6086d509abb37eba640a982d342d0583 100644 (file)
@@ -2037,14 +2037,12 @@ NON-BLOCKING is optional arg requesting an non-blocking connect.
 
         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)
        {