From: Automatic source maintenance Date: Mon, 8 Aug 2011 00:12:19 +0000 (-0600) Subject: SourceFormat Enforcement X-Git-Tag: take08~55^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ee561c444a97c946cc8c7fdd6aae779d27132f55;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/compat/xstrerror.cc b/compat/xstrerror.cc index f496a327f2..a63be5f47a 100644 --- a/compat/xstrerror.cc +++ b/compat/xstrerror.cc @@ -83,7 +83,7 @@ xstrerr(int error) #if _SQUID_WINDOWS_ // Description of WSAGetLastError() - for (size_t i = 0;i < sizeof(_wsaerrtext) / sizeof(struct _wsaerrtext); i++) { + for (size_t i = 0; i < sizeof(_wsaerrtext) / sizeof(struct _wsaerrtext); i++) { if (_wsaerrtext[i].err == error) { // small optimization, save using a temporary buffer and two copies... snprintf(xstrerror_buf, BUFSIZ, "(%d) %s, %s", error, _wsaerrtext[i].errconst, _wsaerrtext[i].errdesc); diff --git a/src/ip/Address.cc b/src/ip/Address.cc index 6c521873d8..046606efc5 100644 --- a/src/ip/Address.cc +++ b/src/ip/Address.cc @@ -285,7 +285,7 @@ Ip::Address::IsNoAddr() const { // IFF the address == 0xff..ff (all ones) return IN6_ARE_ADDR_EQUAL( &m_SocketAddr.sin6_addr, &v6_noaddr ) - || IN6_ARE_ADDR_EQUAL( &m_SocketAddr.sin6_addr, &v4_noaddr ); + || IN6_ARE_ADDR_EQUAL( &m_SocketAddr.sin6_addr, &v4_noaddr ); } void