From: Richard Levitte Date: Fri, 29 Mar 2002 23:48:43 +0000 (+0000) Subject: Fix of mixup bwtween SOMAXCONN and SO_MAXCONN. X-Git-Tag: OpenSSL_0_9_7-beta1~127 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1aecc34e9ee95db71f6f033e9c61aa2d80d2c864;p=oweals%2Fopenssl.git 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). --- diff --git a/crypto/bio/b_sock.c b/crypto/bio/b_sock.c index 6d77b9d8d4..dcaef68ea7 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