git.samba.org
/
socket_wrapper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f152f98
)
swrap: Make early-libc-out more obvious by removing else
author
Michael Adam
<obnox@samba.org>
Thu, 13 Jul 2017 00:40:11 +0000
(
02:40
+0200)
committer
Andreas 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
patch
|
blob
|
history
diff --git
a/src/socket_wrapper.c
b/src/socket_wrapper.c
index 02fe970ca9fc0181ecea62b16ecef9a21b749214..507f2b26c062aef7c67730468c55e65058d938bb 100644
(file)
--- 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: {