swrap: Make early-libc-out more obvious by removing else
authorMichael Adam <obnox@samba.org>
Thu, 13 Jul 2017 00:40:11 +0000 (02:40 +0200)
committerAndreas Schneider <asn@samba.org>
Wed, 2 May 2018 12:23:34 +0000 (14:23 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
src/socket_wrapper.c

index 02fe970ca9fc0181ecea62b16ecef9a21b749214..507f2b26c062aef7c67730468c55e65058d938bb 100644 (file)
@@ -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: {