summaryrefslogtreecommitdiff
path: root/TAO/tao/Connector_Registry.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2000-04-25 22:22:22 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2000-04-25 22:22:22 +0000
commit465795116f44a6e26c83209715ad3951356b7f81 (patch)
treea6d1ef47bc8463b29f3b721bb118818b9f5b0c88 /TAO/tao/Connector_Registry.cpp
parent602d362d1a80be71dd5f02d6581ab944079dae7a (diff)
downloadATCD-465795116f44a6e26c83209715ad3951356b7f81.tar.gz
ChangeLogTag:Tue Apr 25 15:05:48 2000 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/Connector_Registry.cpp')
-rw-r--r--TAO/tao/Connector_Registry.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/TAO/tao/Connector_Registry.cpp b/TAO/tao/Connector_Registry.cpp
index 8d310d40479..1a89726d964 100644
--- a/TAO/tao/Connector_Registry.cpp
+++ b/TAO/tao/Connector_Registry.cpp
@@ -382,7 +382,10 @@ char
TAO_Connector_Registry::object_key_delimiter (const char *ior)
{
if (!ior)
- return 0; // Failure: Null IOR string pointer
+ {
+ errno = EINVAL;
+ return 0; // Failure: Null IOR string pointer
+ }
TAO_ConnectorSetIterator first_connector = this->begin ();
TAO_ConnectorSetIterator last_connector = this->end ();