summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>1999-07-09 00:43:12 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>1999-07-09 00:43:12 +0000
commit16b4a6c313a9ee39c0993369a1f41e2d6d5f2e9b (patch)
tree03b0fb61a856e0233334cdd996c692acf849c4c0
parent0d467ac114b27a24e29fd935222ad96d29eda81a (diff)
downloadATCD-16b4a6c313a9ee39c0993369a1f41e2d6d5f2e9b.tar.gz
The preconnect provided on the command line wasn't being
"consumed" during command line parsing. Thanks to Steve Totten <totten_s@ociweb.com> for reporting this problem and providing a fix. [Bug 39] Update related to the preconnect fixes described above. [Bug 4]
-rw-r--r--TAO/tao/ORB_Core.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/tao/ORB_Core.cpp b/TAO/tao/ORB_Core.cpp
index 70997a34cb9..403e1437daf 100644
--- a/TAO/tao/ORB_Core.cpp
+++ b/TAO/tao/ORB_Core.cpp
@@ -653,6 +653,8 @@ TAO_ORB_Core::init (int &argc, char *argv[])
this->orb_params ()->preconnects (preconnections);
}
+
+ arg_shifter.consume_arg ();
}
}
@@ -948,12 +950,12 @@ TAO_ORB_Core::init (int &argc, char *argv[])
// Have registry parse the preconnects
if (this->orb_params ()->preconnects ().is_empty () == 0)
- this->connector_registry ()->preconnect (this->orb_params ()->preconnects ());
+ this->connector_registry ()->preconnect (this,
+ this->orb_params ()->preconnects ());
return 0;
}
-
int
TAO_ORB_Core::set_iiop_endpoint (int dotted_decimal_addresses,
CORBA::UShort port,