coding style fix
authorFrank Zschockelt <lm@freakysoft.de>
Thu, 07 Nov 2013 19:42:22 +0100
changeset 653 49b6d6bc7321
parent 652 c20a83e11260
child 654 54f17719b9d0
child 655 eda0df5ed2af
child 656 7b54555425a3
coding style fix
loudmouth/lm-sock.c
--- a/loudmouth/lm-sock.c	Thu Nov 07 02:09:16 2013 -0600
+++ b/loudmouth/lm-sock.c	Thu Nov 07 19:42:22 2013 +0100
@@ -315,11 +315,9 @@
 {
 #ifdef USE_TCP_KEEPALIVES
 
-#ifdef __APPLE__
-#ifndef TCP_KEEPIDLE
+#if defined(__APPLE__) && !defined(TCP_KEEPIDLE)
 #define TCP_KEEPIDLE TCP_KEEPALIVE
 #endif
-#endif
 
     int opt;