diff options
Diffstat (limited to 'ACE/ace/SOCK_SEQPACK_Association.cpp')
-rw-r--r-- | ACE/ace/SOCK_SEQPACK_Association.cpp | 5 |
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, |