From 5b2bb28ea1fbd15e438f88132ae436c48149d817 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 29 Jul 2010 09:38:07 +0000 Subject: [PATCH] * Fixed typo that broke the build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37805 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/network/protocols/unix/UnixAddress.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/kernel/network/protocols/unix/UnixAddress.cpp b/src/add-ons/kernel/network/protocols/unix/UnixAddress.cpp index 383902634b..d92e2854a6 100644 --- a/src/add-ons/kernel/network/protocols/unix/UnixAddress.cpp +++ b/src/add-ons/kernel/network/protocols/unix/UnixAddress.cpp @@ -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); }