remove trailing whitespace at end of lines

svn path=/trunk/; revision=15091
This commit is contained in:
Steven Edwards 2005-05-07 21:24:31 +00:00
parent 1c29a40c45
commit 456be5d16b
385 changed files with 5481 additions and 5481 deletions

View file

@ -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 */