From 4a579233b4838da9366d7d3533a2a788ee71a2b5 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 29 Mar 2002 23:48:29 +0000 Subject: [PATCH] Fix of mixup bwtween SOMAXCONN and SO_MAXCONN. Furthermore, make SO_MAXCONN the first choice, since that's the standard (as far as I know). --- crypto/bio/b_sock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/bio/b_sock.c b/crypto/bio/b_sock.c index 7dfcbab76..8fb0716e7 100644 --- a/crypto/bio/b_sock.c +++ b/crypto/bio/b_sock.c @@ -72,9 +72,9 @@ #endif #ifdef SO_MAXCONN -#define MAX_LISTEN SOMAXCONN -#elif defined(SO_MAXCONN) #define MAX_LISTEN SO_MAXCONN +#elif defined(SOMAXCONN) +#define MAX_LISTEN SOMAXCONN #else #define MAX_LISTEN 32 #endif