From a68511296862f48158a7f3623bb94e883b936b2a Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 13 Jul 2017 02:40:11 +0200 Subject: swrap: Make early-libc-out more obvious by removing else Signed-off-by: Michael Adam Reviewed-by: Andreas Schneider --- src/socket_wrapper.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c index 02fe970..507f2b2 100644 --- a/src/socket_wrapper.c +++ b/src/socket_wrapper.c @@ -4016,7 +4016,9 @@ static int swrap_setsockopt(int s, int level, int optname, optname, optval, optlen); - } else if (level == IPPROTO_TCP) { + } + + if (level == IPPROTO_TCP) { switch (optname) { #ifdef TCP_NODELAY case TCP_NODELAY: { -- cgit