diff options
Diffstat (limited to 'src/socket_wrapper.c')
| -rw-r--r-- | src/socket_wrapper.c | 4 |
1 files changed, 3 insertions, 1 deletions
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: { |
