diff options
| author | Michael Adam <obnox@samba.org> | 2017-07-13 02:40:11 +0200 |
|---|---|---|
| committer | Andreas Schneider <asn@samba.org> | 2018-05-02 14:23:34 +0200 |
| commit | a68511296862f48158a7f3623bb94e883b936b2a (patch) | |
| tree | bf16cf36bbe8b79256b18df57d42fa021cf07db8 /src | |
| parent | f152f98a98d5b56b26386ae570f343253743289c (diff) | |
| download | socket_wrapper-a68511296862f48158a7f3623bb94e883b936b2a.tar.gz socket_wrapper-a68511296862f48158a7f3623bb94e883b936b2a.tar.xz socket_wrapper-a68511296862f48158a7f3623bb94e883b936b2a.zip | |
swrap: Make early-libc-out more obvious by removing else
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'src')
| -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: { |
