mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:13:00 +00:00
remove trailing whitespace at end of lines
svn path=/trunk/; revision=15091
This commit is contained in:
parent
1c29a40c45
commit
456be5d16b
385 changed files with 5481 additions and 5481 deletions
|
@ -74,10 +74,10 @@ SConnect(int sfd, const struct sockaddr_in *const addr, int tlen)
|
|||
errno = 0;
|
||||
result = connect(sfd, (struct sockaddr *) addr,
|
||||
(int) sizeof(struct sockaddr_in));
|
||||
if (result == 0)
|
||||
if (result == 0)
|
||||
return 0; /* Already?!? */
|
||||
|
||||
if ((result < 0)
|
||||
if ((result < 0)
|
||||
#if defined(WIN32) || defined(_WINDOWS)
|
||||
&& ((wsaErrno = WSAGetLastError()) != WSAEWOULDBLOCK)
|
||||
&& (wsaErrno != WSAEINPROGRESS)
|
||||
|
@ -105,7 +105,7 @@ SConnect(int sfd, const struct sockaddr_in *const addr, int tlen)
|
|||
/* ready */
|
||||
break;
|
||||
} else if (result == 0) {
|
||||
/* timeout */
|
||||
/* timeout */
|
||||
errno = ETIMEDOUT;
|
||||
SETWSATIMEOUTERR
|
||||
/* Don't bother turning off FIONBIO */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue