From: Tim Waugh Date: Wed, 11 Mar 2015 13:07:48 +0000 (+0000) Subject: Whitespace changes only. X-Git-Tag: v1.4.90~27^2~19^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a85363daa80697bda35c789b9ffca53dc7c3c71b;p=tigervnc.git Whitespace changes only. --- diff --git a/common/network/TcpSocket.cxx b/common/network/TcpSocket.cxx index e19f52b1..80b26b1c 100644 --- a/common/network/TcpSocket.cxx +++ b/common/network/TcpSocket.cxx @@ -152,7 +152,7 @@ TcpSocket::TcpSocket(const char *host, int port) if ((result = getaddrinfo(host, NULL, &hints, &ai)) != 0) { throw Exception("unable to resolve host by name: %s", - gai_strerror(result)); + gai_strerror(result)); } // This logic is too complex for the compiler to determine if @@ -222,7 +222,7 @@ TcpSocket::TcpSocket(const char *host, int port) err = errorNumber; #ifndef WIN32 if (err == EINTR) - continue; + continue; #endif closesocket(sock); break; @@ -356,7 +356,7 @@ bool TcpSocket::sameMachine() { #ifdef HAVE_GETADDRINFO if (peeraddr.u.sa.sa_family == AF_INET6) return IN6_ARE_ADDR_EQUAL(&peeraddr.u.sin6.sin6_addr, - &myaddr.u.sin6.sin6_addr); + &myaddr.u.sin6.sin6_addr); #endif if (peeraddr.u.sa.sa_family == AF_INET) @@ -375,7 +375,7 @@ void TcpSocket::shutdown() bool TcpSocket::enableNagles(int sock, bool enable) { int one = enable ? 0 : 1; if (setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, - (char *)&one, sizeof(one)) < 0) { + (char *)&one, sizeof(one)) < 0) { int e = errorNumber; vlog.error("unable to setsockopt TCP_NODELAY: %d", e); return false;