45 строки
1.0 KiB
Diff
45 строки
1.0 KiB
Diff
From ce70d7a39f384c526e0a0e5fdfd1d3ed523f4942 Mon Sep 17 00:00:00 2001
|
|
From: Phil Sutter <psutter@redhat.com>
|
|
Date: Fri, 25 Nov 2016 11:36:14 +0100
|
|
Subject: [PATCH] test/test.c: Whitespace cleanup
|
|
|
|
Signed-off-by: Phil Sutter <psutter@redhat.com>
|
|
---
|
|
test/test.c | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/test/test.c b/test/test.c
|
|
index c793225eaa820..224c1b4944fc5 100644
|
|
--- a/test/test.c
|
|
+++ b/test/test.c
|
|
@@ -69,7 +69,7 @@ int main()
|
|
}
|
|
printf("TCP_KEEPCNT = %d\n", optval);
|
|
#endif
|
|
-
|
|
+
|
|
#ifdef TCP_KEEPIDLE
|
|
if(getsockopt(s, SOL_TCP, TCP_KEEPIDLE, &optval, &optlen) < 0) {
|
|
perror("getsockopt()");
|
|
@@ -78,7 +78,7 @@ int main()
|
|
}
|
|
printf("TCP_KEEPIDLE = %d\n", optval);
|
|
#endif
|
|
-
|
|
+
|
|
#ifdef TCP_KEEPINTVL
|
|
if(getsockopt(s, SOL_TCP, TCP_KEEPINTVL, &optval, &optlen) < 0) {
|
|
perror("getsockopt()");
|
|
@@ -88,7 +88,7 @@ int main()
|
|
printf("TCP_KEEPINTVL = %d\n", optval);
|
|
#endif
|
|
}
|
|
-
|
|
+
|
|
close(s);
|
|
|
|
exit(EXIT_SUCCESS);
|
|
--
|
|
2.10.0
|
|
|