summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Connection_Handler.cpp
diff options
context:
space:
mode:
authorPhil Mesnier <mesnier_p@ociweb.com>2006-05-16 06:10:47 +0000
committerPhil Mesnier <mesnier_p@ociweb.com>2006-05-16 06:10:47 +0000
commit6d80dbd310239f2479c37fe5c50f781f1de07e60 (patch)
treed037f5f502fe8d0080b35930cf773521ab75f1f1 /TAO/tao/IIOP_Connection_Handler.cpp
parent57705bf80df4c78d1bf6cfd1e3e8cf7319602899 (diff)
downloadATCD-6d80dbd310239f2479c37fe5c50f781f1de07e60.tar.gz
ChangeLog tag: Tue May 16 05:22:15 UTC 2006 Phil Mesnier <mesnier_p@ociweb.com>
Diffstat (limited to 'TAO/tao/IIOP_Connection_Handler.cpp')
-rw-r--r--TAO/tao/IIOP_Connection_Handler.cpp31
1 files changed, 15 insertions, 16 deletions
diff --git a/TAO/tao/IIOP_Connection_Handler.cpp b/TAO/tao/IIOP_Connection_Handler.cpp
index d65d0ae017d..0f59383abe5 100644
--- a/TAO/tao/IIOP_Connection_Handler.cpp
+++ b/TAO/tao/IIOP_Connection_Handler.cpp
@@ -500,23 +500,23 @@ TAO_IIOP_Connection_Handler::set_dscp_codepoint (CORBA::Boolean set_network_prio
void
TAO_IIOP_Connection_Handler::abort (void)
{
- struct linger lval;
- lval.l_onoff = 1;
- lval.l_linger = 0;
-
- if (this->peer ().set_option(SOL_SOCKET,
- SO_LINGER,
- (void*) &lval,
- sizeof (lval)) == -1)
+ struct linger lval;
+ lval.l_onoff = 1;
+ lval.l_linger = 0;
+
+ if (this->peer ().set_option(SOL_SOCKET,
+ SO_LINGER,
+ (void*) &lval,
+ sizeof (lval)) == -1)
+ {
+ if (TAO_debug_level)
{
- if (TAO_debug_level)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("TAO (%P|%t) Unable to set ")
- ACE_TEXT ("SO_LINGER on %d\n"),
- this->peer ().get_handle ()));
- }
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("TAO (%P|%t) Unable to set ")
+ ACE_TEXT ("SO_LINGER on %d\n"),
+ this->peer ().get_handle ()));
}
+ }
}
@@ -529,4 +529,3 @@ TAO_IIOP_Connection_Handler::abort (void)
TAO_END_VERSIONED_NAMESPACE_DECL
#endif /* TAO_HAS_IIOP && TAO_HAS_IIOP != 0 */
-