diff options
| author | Eli Zaretskii | 2015-03-28 10:36:01 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2015-03-28 10:36:01 +0300 |
| commit | 7dc565a2cffeda8e7f5cf2806c056298e7907aba (patch) | |
| tree | d7cb36e0cc9e15eaf13db02be68bf1c6de5b0559 /src/w32.c | |
| parent | 01d1024bec7781066440104ebee0b186382e10f3 (diff) | |
| download | emacs-7dc565a2cffeda8e7f5cf2806c056298e7907aba.tar.gz emacs-7dc565a2cffeda8e7f5cf2806c056298e7907aba.zip | |
Fix blocking connections on MS-Windows (Bug#20159)
src/w32.c (sys_connect): Fix a mistake in previous commit that broke
blocking connections.
Diffstat (limited to 'src/w32.c')
| -rw-r--r-- | src/w32.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -7489,8 +7489,8 @@ sys_connect (int s, const struct sockaddr * name, int namelen) | |||
| 7489 | errno = EINPROGRESS; /* that's what process.c expects */ | 7489 | errno = EINPROGRESS; /* that's what process.c expects */ |
| 7490 | fd_info[s].flags |= FILE_CONNECT; | 7490 | fd_info[s].flags |= FILE_CONNECT; |
| 7491 | } | 7491 | } |
| 7492 | return rc; | ||
| 7493 | } | 7492 | } |
| 7493 | return rc; | ||
| 7494 | } | 7494 | } |
| 7495 | errno = ENOTSOCK; | 7495 | errno = ENOTSOCK; |
| 7496 | return SOCKET_ERROR; | 7496 | return SOCKET_ERROR; |