aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2013-05-07 06:07:11 +0800
committermadpilot <madpilot@FreeBSD.org>2013-05-07 06:07:11 +0800
commit5a54d445d99030ca11a7ce7b7bc9cc99e2839a79 (patch)
treed847c105825497f6a12ad0c73787a6451eae09b0 /comms
parentd87fd160d83ede2849dcbe8e8d996bdcc41f8245 (diff)
downloadfreebsd-ports-gnome-5a54d445d99030ca11a7ce7b7bc9cc99e2839a79.tar.gz
freebsd-ports-gnome-5a54d445d99030ca11a7ce7b7bc9cc99e2839a79.tar.zst
freebsd-ports-gnome-5a54d445d99030ca11a7ce7b7bc9cc99e2839a79.zip
Fix comparison in patch from my previous commit.
Diffstat (limited to 'comms')
-rw-r--r--comms/openobex/files/patch-lib_cloexec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/comms/openobex/files/patch-lib_cloexec.h b/comms/openobex/files/patch-lib_cloexec.h
index 32305701a14a..d3c12f2b8229 100644
--- a/comms/openobex/files/patch-lib_cloexec.h
+++ b/comms/openobex/files/patch-lib_cloexec.h
@@ -13,7 +13,7 @@
socklen_t *addrlen)
{
-#ifdef SOCK_CLOEXEC
-+#if defined(SOCK_CLOEXEC) && __FreeBSD_version < 1000032
++#if defined(SOCK_CLOEXEC) && __FreeBSD_version > 1000032
return accept4(sockfd, addr, addrlen, SOCK_CLOEXEC);
#else
socket_t fd = accept(sockfd, addr, addrlen);