summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilan Cvetkovic <milan.cvetkovic@mpathix.com>2016-04-05 20:17:51 -0400
committerMilan Cvetkovic <milan.cvetkovic@mpathix.com>2016-04-06 11:15:52 -0400
commit9143adca7bbe21d476c2e4387c056158d7b83a00 (patch)
tree9266c79b2a482ad9928239ded31cdc70f3a9ed81
parent178c640975b23879a1c1dbdb17b054a7f60ab39b (diff)
downloadATCD-9143adca7bbe21d476c2e4387c056158d7b83a00.tar.gz
Fixed ssliop corbaloc parser, when there is a comma delimited list
... use the same logic as in TAO/tao/Transport_Connector.cpp Allows using corbaloc:iiop:host:2222,iiop:host:2223/ObjectKey with SSLIOP.
-rw-r--r--TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connector.cpp b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connector.cpp
index 6b17c141510..e67b7d3153d 100644
--- a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connector.cpp
+++ b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connector.cpp
@@ -286,7 +286,7 @@ TAO::SSLIOP::Connector::corbaloc_scan (const char *endpoint, size_t &len)
}
len = ACE_OS::strlen (endpoint);
}
- else if (slash_pos != 0 || comma_pos > slash_pos)
+ else if (comma_pos == 0 || comma_pos > slash_pos)
{
// The endpoint address does not extend past the first '/' or ','
len = slash_pos - endpoint;