summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/SSLIOP
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-12-06 15:27:11 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-12-06 15:27:11 +0000
commit86990d911285ec056893184d4047ca6e27439758 (patch)
tree4e9af8f4f40d95d6bebe7f753950fa628be7d0e1 /TAO/orbsvcs/orbsvcs/SSLIOP
parent33029692cd38cc91c729026d2b790ff2d0612e52 (diff)
downloadATCD-86990d911285ec056893184d4047ca6e27439758.tar.gz
Thu Dec 6 15:26:54 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/SSLIOP')
-rw-r--r--TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.cpp6
-rw-r--r--TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connector.h4
-rw-r--r--TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Credentials.h4
-rw-r--r--TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Transport.cpp10
4 files changed, 8 insertions, 16 deletions
diff --git a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.cpp b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.cpp
index 7f05ba7f4c7..00caabe824f 100644
--- a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.cpp
+++ b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.cpp
@@ -100,13 +100,11 @@ TAO::SSLIOP::Connection_Handler::open (void *)
{
if (this->transport ()->opened_as () == TAO::TAO_CLIENT_ROLE)
{
- tph->client_protocol_properties_at_orb_level (
- protocol_properties);
+ tph->client_protocol_properties_at_orb_level (protocol_properties);
}
else
{
- tph->server_protocol_properties_at_orb_level (
- protocol_properties);
+ tph->server_protocol_properties_at_orb_level (protocol_properties);
}
}
catch (const CORBA::Exception&)
diff --git a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connector.h b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connector.h
index 0666438f85c..f560142bf1c 100644
--- a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connector.h
+++ b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connector.h
@@ -73,9 +73,7 @@ namespace TAO
virtual TAO_Profile *create_profile (TAO_InputCDR& cdr);
virtual int check_prefix (const char *endpoint);
- virtual TAO_Profile * corbaloc_scan (const char *ior,
- size_t &len);
-
+ virtual TAO_Profile * corbaloc_scan (const char *ior, size_t &len);
//@}
protected:
diff --git a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Credentials.h b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Credentials.h
index c9f89d93b10..f1b942eaaaa 100644
--- a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Credentials.h
+++ b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Credentials.h
@@ -76,9 +76,7 @@ namespace TAO
//@{
virtual char * creds_id (void);
- virtual
- SecurityLevel3::CredentialsType creds_type (void)
- = 0;
+ virtual SecurityLevel3::CredentialsType creds_type (void) = 0;
virtual SecurityLevel3::CredentialsUsage creds_usage ();
diff --git a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Transport.cpp b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Transport.cpp
index 81d84c7b875..9628b5b66a0 100644
--- a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Transport.cpp
+++ b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Transport.cpp
@@ -284,12 +284,10 @@ TAO::SSLIOP::Transport::get_listen_point (
// Get the array of IIOP (not SSLIOP!) endpoints serviced by the
// SSLIOP_Acceptor.
- const ACE_INET_Addr *endpoint_addr =
- ssliop_acceptor->endpoints ();
+ const ACE_INET_Addr *endpoint_addr = ssliop_acceptor->endpoints ();
// Get the count
- const size_t count =
- ssliop_acceptor->endpoint_count ();
+ size_t const count = ssliop_acceptor->endpoint_count ();
// The SSL port is stored in the SSLIOP::SSL component associated
// with the SSLIOP_Acceptor.
@@ -305,7 +303,7 @@ TAO::SSLIOP::Transport::get_listen_point (
ACE_TEXT ("(%P|%t) Could not resolve local host")
ACE_TEXT (" address in get_listen_point()\n")),
-1);
- }
+ }
}
@@ -346,7 +344,7 @@ TAO::SSLIOP::Transport::get_listen_point (
if (local_addr == endpoint_addr[index])
{
// Get the count of the number of elements
- const CORBA::ULong len = listen_point_list.length ();
+ CORBA::ULong const len = listen_point_list.length ();
// Increase the length by 1
listen_point_list.length (len + 1);