* Fixed typo that broke the build.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37805 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2010-07-29 09:38:07 +00:00
parent 4d41aff0ac
commit 5b2bb28ea1

View File

@ -109,7 +109,7 @@ static bool
unix_is_empty_address(const sockaddr *address, bool checkPort)
{
return address == NULL || address->sa_len == 0
|| address->sa_family == AF_UNSPEC)
|| address->sa_family == AF_UNSPEC
|| (address->sa_len >= kEmptyAddress.sun_len
&& memcmp(address, &kEmptyAddress, kEmptyAddress.sun_len) == 0);
}