From: Kim F. Storm Date: Sun, 3 Mar 2002 00:31:22 +0000 (+0000) Subject: (Fopen_network_stream): Always call turn_on_atimers around connect. X-Git-Tag: ttn-vms-21-2-B4~16393 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f40f9848b640d51d35bde015fd194d80d66802ce;p=emacs.git (Fopen_network_stream): Always call turn_on_atimers around connect. --- diff --git a/src/process.c b/src/process.c index 152fd679405..daf4563c608 100644 --- a/src/process.c +++ b/src/process.c @@ -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) {