mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-05-03 19:52:16 -07:00
(Fopen_network_stream): Always call turn_on_atimers around connect.
This commit is contained in:
parent
6a22cdf4bf
commit
f40f9848b6
1 changed files with 2 additions and 4 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue