summaryrefslogtreecommitdiff
path: root/ACE/ace/SOCK_SEQPACK_Association.cpp
diff options
context:
space:
mode:
authorChad Elliott <elliottc@objectcomputing.com>2019-06-24 12:25:36 -0500
committerChad Elliott <elliottc@objectcomputing.com>2019-06-24 12:25:36 -0500
commitea0205bef9691755788871bffaeae8a4fff49a5d (patch)
tree68e212be1fc97cec19c3041ef0a03da9ba449cec /ACE/ace/SOCK_SEQPACK_Association.cpp
parentde6952566c18e2fb7bc049dfac5814f6e53cf72f (diff)
downloadATCD-ea0205bef9691755788871bffaeae8a4fff49a5d.tar.gz
Redundantly set the l_linger member to appease gcc
Diffstat (limited to 'ACE/ace/SOCK_SEQPACK_Association.cpp')
-rw-r--r--ACE/ace/SOCK_SEQPACK_Association.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/ACE/ace/SOCK_SEQPACK_Association.cpp b/ACE/ace/SOCK_SEQPACK_Association.cpp
index 024de691a2e..def25b74165 100644
--- a/ACE/ace/SOCK_SEQPACK_Association.cpp
+++ b/ACE/ace/SOCK_SEQPACK_Association.cpp
@@ -52,6 +52,11 @@ ACE_SOCK_SEQPACK_Association::abort (void)
linger slinger = { 0 };
slinger.l_onoff = 1;
+#if !defined(ACE_HAS_LINGER_MS)
+ // Redundantly set the l_linger member to appease gcc
+ slinger.l_linger = 0;
+#endif
+
if (-1 == ACE_OS::setsockopt (this->get_handle (),
SOL_SOCKET,
SO_LINGER,