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
commit43c0e36fd1daf8e2e4b1e07f562ae1cb83e8f93d (patch)
treea6d1ef47bc8463b29f3b721bb118818b9f5b0c88 /TAO/tao/Connector_Registry.cpp
parent36e6ddeeab8f1dfed7a4275fcd6a350cf6f9782b (diff)
downloadATCD-43c0e36fd1daf8e2e4b1e07f562ae1cb83e8f93d.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 ();